Moderation
Plugin for server moderation.

Displays all of the moderation logs of specified member.
All of the Timestamps are displayed in UTC.
Usage:
;modlogs <member>

Removes and cleans all of the previous moderation logs of specified member.
Aliases:
- purge
- clear
Usage:
;modlogs clean <member>

Issues a warning to specified member. Also notifies them automatically by direct message.
Usage:
;warn <member> <reason>

Kicks specified member from the server. It also notifies them automatically along with the given reason.
;kick <member> [reason]

Bans specified member from the server. It also notifies them automatically along with the given reason.
If the user is not present in the server, their discord ID can be passed as member parameter.
Usage:
;ban <member> [reason]

Un bans user from their discord ID.
Usage:
;unban <user_id> [reason]

Cleans and deleted last few messages sent by the bot.
Usage:
;clean

Mutes specified member from voice and also adds the muted role. It also notifies them automatically along with the given reason.
Usage:
;mute <member> [reason]

Sets muted role for server which will be used to enforce restrictions on members when they're muted. It creates a new role to use denying sending messages to all of the text channels if not provided.
Usage:
;mute role [role]

Un mutes specified member from voice and removes the muted role. It also notifies them automatically.
Usage:
;unmute <member>

Removes and purges messages which meets specified criteria. To specify any criteria, consider using its sub-commands. If this primary command is used, performs the default purge which removes last specified number of messages.
Aliases:
- prune
Usage:
;purge [search=100]

Removes all of the messages containing only texts, ignores files or any attachments.
Aliases:
- text
Usage:
;purge text [search=100]

Removes messages that have embeds in them. Embed messages are sent by webhooks and other bots.
Aliases:
- embed
Usage:
;purge embeds [search=100]

Removes messages that have embeds in them. Embed messages are sent by webhooks and other bots.
Aliases:
- embed
Usage:
;purge embeds [search=100]

Removes messages that have attachments in them.
Aliases:
- file
Usage:
;purge files [search=100]

Removes messages that have embeds or attachments.
Aliases:
- image
Usage:
;purge images [search=100]

Another alias to the primary purge command which deletes any of the messages for provided search limit.
Aliases:
- everything
Usage:
;purge all [search=100]

Removes all messages sent by the specified member.
Aliases:
- member
Usage:
;purge user <user> [search=100]
Examples:
;purge user @thecosmos#7777 20

Removes all messages containing a substring. The substring must be at least 3 characters long.
Aliases:
- has
Usage:
;purge contains <sub string>

Removes a bot user's messages and messages with their optional prefix.
Usage:
;purge bot [prefix] [search=100]
Examples:
;purge bot ! 20

Removes all messages containing custom emoji.
Aliases:
- emojis
- emotes
- emote
Usage:
;purge emoji [search=100]

Removes all reactions from messages that have them.
Aliases:
- reaction
Usage:
;purge reactions [search=100]
Copy link
On this page
;modlogs
;modlogs clean
;warn
;kick
;ban
;unban
;clean
;mute
;mute role
;unmute
;purge
;purge text
;purge embeds
;purge embeds
;purge files
;purge images
;purge all
;purge user
;purge contains
;purge bot
;purge emoji
;purge reactions