Answers for "how can i delete a specific message with the id ?"

0

how to delete a message by its id

// 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());
Posted by: Guest on October-28-2021

Code answers related to "how can i delete a specific message with the id ?"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language