Answer the question
In order to leave comments, you need to log in
Discord bot status. Why is it not working?
I'm making a status for a bot, but I have no idea what I'm facing. Everything seems to be correct. Who knows, please help.
Here is the code
const discord = require("discord.js");
const token = require("../config.json");
const client = new discord.Client();
client.on("ready", () => {
client.user.setActivity("my code", { type: "STREAMING", url: "https://www.twitch.tv/chto-to" })
})
Answer the question
In order to leave comments, you need to log in
Your code:
client.on('ready', () => {
client.user.setActivity("my code", { type: "STREAMING", url: "https://www.twitch.tv/chto-to" });
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question