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
d.js toolkit
d.js toolkit6mo ago
- 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
d.js docs
d.js docs6mo ago
method Message#edit() Edits the content of the method MessageManager#edit() Edits a message, even if it's not cached.
xx_lavaboy_xx123
use whichever uwant