Update message when event fires
I use a minecraft api to see how many players are online on my server. How could I say that the bot should update a message it initally posted once the online player count changes?
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staff Message#edit()
Edits the content of the MessageManager#edit()
Edits a message, even if it's not cached.
use whichever uwant