[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 use Client.login():

var bot = new Discord.Client();
bot.login(auth.token);

2

solved Create Channel Switch Logger