The bad news? Discord by default doesn't have a feature to clear messages. The good news? There are many ways to do it! The quickest and easiest way to clear the chat in Discord is to use a bot like MEE6.
First, you're going to need to add the MEE6 bot to your Discord server, to do so:
After adding MEE6, all you need to do is enable the clear chat command. You can do that by logging in at https://mee6.xyz/ (top right), selecting the server you just added the bot to and then pressing "Enable" on "Moderator":
Once you have enabled that setting, add any roles you wish to allow access to moderator commands under the "Moderator Roles" header. The administrator role, and server owner role is enabled by default.
If you have added MEE6, and enabled moderation commands, you can then type the !clear command to clear previous messages. Typing !clear 10 would clear 10 previous messages:
You can also clear up to 100 messages that a user has sent. Typing !clear @DiscordHelp#9093 would clear up to 100 previous messages previously sent by that user. In the below example, only 9 messages had been sent by the user @DiscordHelp#9093 in the channel, so all 9 were deleted:
Say no to annoying loud messages!Read More
Spook everyone out with a ghostly name and avatar (pun intended).Read More
They did the crime, they served the time, there is no longer a need to confine.Read More