Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discordjs delete all messages in channel

// Bulk delete messages
channel.bulkDelete(5)
  .then(messages => console.log(`Bulk deleted ${messages.size} messages`))
  .catch(console.error);
Source by discord.js.org #
 
PREVIOUS NEXT
Tagged: #discordjs #delete #messages #channel
ADD COMMENT
Topic
Name
3+4 =