[SOLVED] `bot.setStatus()` not working?
See original GitHub issueI have a basic discord.js bot that uses the setStatus()
command to display how many servers it is in and the command to receive the list of commands. I put this inside a bot.on("ready")
handler, just in case that is important. Here is a screenshot of the console error:
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Discord.js - setStatus not being called inside .then
I've tested a multitude of things. The setStatus methods are being called and I've tested that, but the status of the bot isn't...
Read more >Developers - [SOLVED] `bot.setStatus()` not working? - - Bountysource
I have a basic discord.js bot that uses the setStatus() command to display how many servers it is in and the command to...
Read more >Discord.js setStatus() and setPresence() not working-discord.js
Try using setActivity client.user.setActivity('Use "-help"', { type: 'PLAYING', url: 'https://discordapp.com/' });. APartOfMe 183. Source: stackoverflow.com ...
Read more >How to Update Discord bot status with Discord.py
Looking at the latest iteration of our Discord bot, it isn't very ... Streaming() to display the bot as streaming with an optional...
Read more >Bot discord set activity - Code Help - Glitch Support
the problem is on the bot he display “the world', { type: 'WATCHING'}” and not just “the world” and ... setStatus(“dnd”);” nothing change...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh, you might also wanna check for
bot.user.setGame()
if its solved close your issue please! 👍
bot.guilds.size does not work anymore.
This works for me: bot.guilds.cache.size