#how to fetch all messages in channel
12 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
There's no way
That is, using the command it is impossible to clear the messages in the channel?
Just clone and delete the channel.
This is like an example, I need to make sure that when I enter the command, unnecessary messages from the channel are deleted
GuildChannel#clone()
Clones this channel.
Use messageCreate event and delete unnecessary messages there
How can I get cloned channel information during cloning?
The method returns a Promise with the channel
