Basically, my bot is online and the status is enabled but none of the commands are working even after I reformatted and there were no errors.
1 Like
Could you please share your code with us?
3 Likes
Can you try testing locally to see if you get the same result?
1 Like
if bot not replying, bot probably is down, discord checks activity of accounts slowly
Not true, sure it may be down, but it would still respond. Discord has about a 5-15 minute interval for checking presences. But, the bot should still be up. @huangsushi Are you using a handler, or just one script.
If you could share the code would be easier to help, this are the possible problems:
- You are writing wrongly the commands.
- Wrong prefix, maybe it have an extra space
( Solution )
Write this on your code:
client.on("message", message => { if (message.content == "test") {message.channel.send("tested")}});
//If you write test, and the bot answers tested, means isn't some of the problems above
- Using if/else chain
- Using basic command handler
- Using advanced command handler
( Solution )
Then it’s a typo, look for the problem searching guides for making command handlers on google, like this one:
3 Likes