“Como excluir uma mensagem por seu id discord.js” Respostas de código

Exclua a mensagem discord.js

message.delete()
Nervous Newt

Como excluir uma mensagem por seu id discord.js

// ASSUMPTIONS:
// channel: the channel you want the message to be sent in
// lastmsg: the id of the last poll message

channel.fetchMessage(lastmsg).then(msg => msg.delete());
Poor Pony

Respostas semelhantes a “Como excluir uma mensagem por seu id discord.js”

Perguntas semelhantes a “Como excluir uma mensagem por seu id discord.js”

Mais respostas relacionadas para “Como excluir uma mensagem por seu id discord.js” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código