I have been coding my Discord bot using Discord.JS for about 2 months now and I\'ve just recently noticed that my bot isn\'t saying that it\'s playing what I\'m telling it.
setGame() is now deprecated, and discord.js asks you to use setActivity().
setGame()
setActivity()
const Discord = require("discord.js"); const bot = new Discord.Client(); bot.on("ready", () => { console.log("Ready"); bot.user.setActivity("Type !help"); })
Hope this helped.