[Solved] Create Channel Switch Logger

Your bot does not respond because the client is not initialized correctly. You’re creating the client like this: var bot = new Discord.Client({ token: auth.token, // <– autorun: true // <– }); The problem is that these arguments do not exist in discord.js, as stated by the Client docs. To log into your bot, please … Read more

[Solved] Cannot turn into embed [closed]

You seem to be confused as to how to create embeds. const Discord = require(‘discord.js’); const bot = new Discord.Client(); bot.on(“message”, async (msg) => { const exampleEmbed = new Discord.MessageEmbed() //embeds are part of the `Discord` object defined above .setColor(‘#0099ff’) .setTitle(‘Some title’) .setURL(‘https://discord.js.org/’) .setAuthor(‘Some name’, ‘https://i.imgur.com/wSTFkRM.png’, ‘https://discord.js.org’) .setDescription(‘Some description here’) .setThumbnail(‘https://i.imgur.com/wSTFkRM.png’) .addFields( { name: ‘Regular … Read more