In discord.js, there is a way to delete multiple messages in a channel (eventually making a clear command)
But I can't find the equivalent to Java Discord API. What I've tried is message.getChannel().getLatestMessageId()
in a for statement, but it gave me exceptions when doing so, and did not delete any message ofc.