Moderation Tutorial
Last updated
Last updated
This guide will give you the basic information needed to moderate your Discord server with MoonlightBot. It features a list of commands and how they work, complete with their options, infractions, and log information to help you better understand how to use them
These are options you may use while executing moderation commands. You can find a more in-depth guide about options in the options page
user
: The user to execute the moderation action on
reason
: The reason for which you are taking the action, useful for record keeping. The reason shows up in infractions, logs, and notifications from the bot
no-infraction
: Whether or not the command will count towards the user's infractions
If both the notify
and no-infraction
options are true, the target will not be notified in order to prevent harassment via MoonlightBot
duration
: The amount of time for which the action taken will last. For information on the format used, refer to the options page
remove-roles
: Exclusive to the mute commands, this option will remove all of the user's roles except the muterole if true. This is to facilitate the effectiveness of the mute command
You can configure MoonlightBot to ban someone if they send a message while they have the mute role by running the command /config settings mute-evasion-ban:True
. This is a helpful backup if the mute isn't working as intended
role
: The role to assign/remove in a role command
These features help ensure a seamless moderation experience with MoonlightBot
Infractions help staff members keep track of a user's bad conduct and make informed decisions while moderating. This is a versatile tool with multiple subcommands to assist your moderation needs
/infractions summary
: This command shows the 3 most recent infractions, and the infraction count of each different infraction type. If a tempban/mute/timeout is active, the command will show that as well
/infractions detailed
: This command shows the infraction type, user affected, moderator who enforced it, reason, and date created
/infractions reason
: This command displays the reason given to the infraction, and allows you to edit it
/infractions search
: This command allows you to see a list of infractions within given parameters, such as the moderator who executed them
/infractions delete
: This command deletes a specified infraction
When moderators execute an action such as a warn, MoonlightBot will send a message in the designated logs channel in order to keep track of moderation events. For more information on setting up logs, refer to the logs section of the main page
All the commands listed can be found in the "Moderation Commands" and "Role Management Commands" categories
/kick
: This command removes a user from the server, but they are able to rejoin if they have an invite
/ban
: This command kicks a user from the server and prohibits them from rejoining
/tempban
: This command temporarily bans a user for a set amount of time
/softban
: This command bans a user then immediately unbans them. Though similar to the kick command, this command deletes the user's messages (useful for cleaning up spam)
/unban
: This command unbans a user from the server, allowing them to rejoin (if they have an invite)
The mute commands requires a mute role. You can make one by using /create-muterole
; MoonlightBot will set everything up for you!
/mute
: This command suppresses a user from sending messages, creating threads, and adding reactions
/tempmute
: This command temporarily mutes a user for a set amount of time
/unmute
: This command unmutes a user, allowing them to send messages again
/role
: This command gives/takes a role from a user
/temprole
: This command temporarily gives a role to a user for a set amount of time
/list-temproles
: This command lists the active temproles
/pause-role
: This command takes a role from a user and gives it back after a set amount of time
notify
: Whether or not the bot will message the user after the command is executed, as shown below
A user ID is a string of numbers that is unique to a Discord account. Unlike usernames, the user ID cannot be changed, which is useful for various purposes, such as locating a user (even if they have changed their username to avoid detection) and executing commands for a user who has left the server. A great place to use IDs is the search bar, located at the top of the page. To access user IDs, it is recommended that you enable Developer Mode, but MoonlightBot also displays user IDs next to usernames in command outputs