M
M
McLightning2021-02-16 21:34:12
Bots
McLightning, 2021-02-16 21:34:12

StatusBot (makes it show playing/watching/streaming/listening) discord turns off quickly. How to fix?

turns off very quickly if not activated how to fix it?
https://www.youtube.com/watch?v=T9H8jIJBqtg&t
https://github.com/sanichyut/status-bot

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill, 2021-02-16
@McLightning

client.on("ready", () => {
    client.login(config.token);
    console.log(`Загружено!, ${client.user.tag}`)
});
Maybe I don’t understand something, but why are you logging in the bot twice? Try changing the code with the ready event to
client.on("ready", () => {
    console.log(`Загружено!, ${client.user.tag}`)
});

I hope this solves your problem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question