Marsha

Commands

Moderation Commands

Moderation commands allow you to effectively manage your community. You can warn, kick, ban, and mute members who don't follow the rules.


Configuration

Light bulb

Configuration via Dashboard

To configure permissions, automatic sanctions, and moderation settings, visit the Dashboard. You can define who can use these commands and how they work.


Basic Sanctions

/warn - Warn a member

Issues an official warning to a member. The warning is recorded in the infraction system and can trigger automatic sanctions if configured.

Syntax:

Examples:

What happens:

An infraction is created and recorded in history. The member receives a private message if this option is enabled in the dashboard. If you've configured automatic sanctions after X warnings, they are triggered automatically.

Hierarchy:

You cannot warn members who have a higher role than yours. The bot must also have a sufficiently high role in the hierarchy.


/kick - Kick a member

Removes a member from the server. They can return if they have an invitation link.

Syntax:

Examples:

Difference from ban:

Kicking is a lighter sanction than banning. The member can rejoin the server if they have an invitation. Use this command for moderate infractions.


/ban - Ban a member

Permanently bans a member from the server. They cannot rejoin without being unbanned.

Syntax:

Examples:

Special feature:

You can ban by ID even if the member is not in the server. This is useful for banning alt accounts before they join.

Warning

Permanent action

Bans are permanent until manually lifted with /unban. Consider /tempban for temporary sanctions.


/unban - Lift a ban

Removes a ban to allow the user to rejoin.

Syntax:

Examples:

How to get the ID:

Enable Developer Mode in Discord (Settings → Advanced), then right-click on the user and select "Copy ID".


/mute - Mute a member

Prevents a member from sending messages and speaking in voice.

Syntax:

Examples:

How it works:

The command uses Discord's native timeout feature. The member can no longer send messages or speak, but can still read and listen.


/unmute - Remove mute

Removes the mute status from a member to restore their voice.

Syntax:


Temporary Sanctions

/tempban - Temporary ban

Bans a member for a specific duration. They will be automatically unbanned at the end of the time.

Syntax:

Duration formats:

  • s = seconds
  • m = minutes
  • h = hours
  • d = days
  • w = weeks

Examples:

The member is banned immediately and Marsha automatically schedules the unban.


/tempmute - Temporary mute

Mutes a member for a specific duration with automatic unblock.

Syntax:

Examples:

Duration limit:

Maximum 28 days (Discord limitation).


Bulk Actions

/multi-ban - Ban multiple users

Bans multiple members with a single command. Ideal for managing bot attacks or coordinated raids.

Syntax:

Parameters:

  • user_ids: List of IDs separated by commas
  • reason: Reason applied to all bans

Example:

Marsha automatically handles Discord rate limits and shows you a progress bar.

Warning

Use with caution

This command is powerful. Double-check your ID list before executing. A confirmation step protects you against mistakes.


Message Management

/clear - Delete multiple messages

Deletes a large number of messages according to various filters.

Available subcommands

/clear all - Delete all messages

Deletes the last X messages in the channel.

/clear user - Delete messages from a user

Deletes messages from a specific user.

/clear role - Delete messages by role

Deletes messages from members with a specific role.

/clear contains - Delete messages containing text

Deletes messages containing specific text.

Limitations:

  • Maximum 100 messages per command
  • Cannot delete messages older than 14 days (Discord limitation)

/slowmode - Manage slow mode

Activates or deactivates slow mode in a channel to limit message sending frequency.

Syntax:

Examples:

Limits:

  • Minimum: 0 seconds (disabled)
  • Maximum: 21,600 seconds (6 hours)

Statistics

/mod-statistics - View statistics

Displays moderation statistics for the server or a specific moderator.

Syntax:

Examples:

Statistics include the number of infractions by type, most active moderators, and activity trends.


Advanced Configuration

To configure advanced moderation features such as:

  • Automatic sanctions after X warnings
  • Role groups for permissions
  • Custom notification messages
  • Log channels

Visit the Dashboard in the Moderation and Settings section.


Next Steps


Light bulb

Need help?

Join our Discord support server to ask your questions and learn from other moderators!

Previous
Overview