A discord bot for simple chat moderation (delete specific number of recent messages sent by specific user)
Commands:
-
!purge N
- N represents an integer. This allows a user with administrator permissions to purge N recent messages in the channel the command is used in.
-
!purge N @user
- Same command, but this specifies to purge the messages only from the mentioned user.
-
!filter show
- shows status of message filter (enabled or disabled) and displays a list of banned words.
-
!filter enable
- enables the chat filter (deletes messages that contain words from the filter list and replies to the user with a warning).
-
!filter disable
- disables the chat filter.
-
!filter add
- adds to the filter list.
-
!filter remove
- removes from the filter list.