Clear Messages
Allows clearing messages in a specified channel.
Command parameters are specified as <required>
, [optional]
and (none)
.
- Command name:
!clear
- Params:
<#channelMention> <messageCount>
- Description:
- Removes the specified message count from the channel mentioned.
messageCount
has a maximum of 100 to prevent extreme amount of message removals, due to human error (though you can run the command multiple times).
- Params:
- Command name:
!clearuser
- Params:
<userId> <#channelMention> <messageCount> [beforeMessageI]
- Description:
- Deletes messages posted by the specified
userId
in the#channel
. - This command isn’t perfect and may not.
- If
beforeMessageId
is specified, it will attempt to retrieve messages posted before the specified message ID.- This is useful if there has been many messages after spam.
- If Decicus spams, then Takarii posts a few messages that aren’t spam, you can copy the message ID of Takarii’s first message and it will “ignore” all the messages after that (hopefully that explains it well enough).
- Deletes messages posted by the specified
- Params: