$clearUserMessages
Clear messages by a user from the channel.
Last updated
Clear messages by a user from the channel.
Last updated
Param | Description | Type | Required |
---|---|---|---|
channelID
The channel to clear messages in.
Snowflake
Yes
userID
The user to clear messages for.
Snowflake
Yes
amount
The amount of message to delete.
Integer
Yes
returnDeletedMessageCount
Whether to return the actual amount of deleted messages.
Boolean
No