$clear
Clears messages from a channel. You can clear messages from a specific user, or clear all messages in the channel.
Usage:
$clear[amount;userID or everyone (optional);channelID (optional);skip pinned messages (optional)]
Parameters:
amount: The number of messages to clear (maximum 100).userID(optional): The ID of the user whose messages you want to clear. If omitted, or set toeveryone, all messages will be cleared.channelID(optional): The ID of the channel to clear messages from. If omitted, the current channel is used.skip pinned messages(optional): default is 'no' Example:
Before:
After:
WARNING
You can clear a maximum of 100 messages at a time. Messages older than 2 weeks cannot be cleared.