Skip to content

Tag: bots

I can’t edit a message from discord.js bot

I want to make a countdown timer that uses a command /timer minutes seconds where the user chooses how long the countdown will be. I want the bot to send the timer as a reply to the command which I’ve successfully done. However, I also want the message to update along with the timer. I can console.log the timer and

Discord Bot – Wait for Reply after Interaction

Probably I didn’t understand quite well how Discord API works when we use awaitMessages. What I’m trying to do is to wait for a message from the user after a button was clicked in a private channel: As you can see, the user clicks on the button, a message is sent asking for the dialogue. After that the bot should