Skip to main content

/timeout

Apply a timeout to a user, temporarily restricting them from sending messages, reacting, or joining voice channels. Creates a moderation case with duration tracking and logs the action.

Required Permission​

Both the user executing the command and the bot must have the Moderate Members permission.

Options​

OptionRequiredDescription
userYesThe user to timeout.
durationNoHow long the timeout should last. Accepts duration strings such as 5m, 1h, 6h, 1d, 7d, or combinations like 1d12h.
reasonNoReason for the timeout. Supports autocomplete with preset reasons. If the selected preset has a duration configured, that duration is used automatically.
evidenceNoA screenshot or file attachment to store with the case as evidence.
silentNoIf set to true, the bot will not send a DM to the user. Defaults to false.

Duration Autocomplete Suggestions​

When you begin typing in the duration field, the bot suggests these common durations:

SuggestionDuration
5 minutes5m
30 minutes30m
1 hour1h
6 hours6h
12 hours12h
1 day1d
3 days3d
7 days7d
14 days14d
28 days28d

Duration Resolution​

The timeout duration can come from two sources:

  1. Explicit duration option -- A duration string provided directly in the command.
  2. Preset reason duration -- If the selected preset reason has an associated duration, it is used automatically.

If an explicit duration is provided, it takes precedence over any preset duration. If neither source provides a duration, the command returns a helpful error message explaining that a duration is required.

Duration Limits​

  • Minimum: 1 minute
  • Maximum: 28 days (this is a Discord platform limit)

Behavior​

  1. Duration validation -- The bot parses and validates the duration, ensuring it falls within the 1 minute to 28 day range.
  2. DM notification -- Unless silent is enabled, the bot sends a direct message to the target user with the server name, timeout reason, duration, and a clickable Appeal button (if the appeals system is enabled). The content and appearance of this DM are controlled by the DM_MUTE message template and can be customized per guild.
  3. Discord timeout -- The bot applies the timeout through the Discord API. The user will be unable to send messages, add reactions, or connect to voice channels for the specified duration.
  4. Case creation -- A case record is created with the action type TIMEOUT, including the duration and an expiry timestamp calculated from the current time plus the duration.
  5. Mod log -- If a mod log channel is configured, the bot posts a formatted embed with the full timeout details including the expiry time.

Notes​

  • Discord automatically lifts the timeout when the duration expires. No further bot action is needed.
  • The expiry field on the case record reflects when the timeout will end, making it easy to see at a glance in the dashboard.
  • If the target user has a role higher than or equal to the bot's highest role, the timeout will fail due to Discord's role hierarchy enforcement.
  • The bot's response to this command is ephemeral - only visible to the moderator who ran it.
  • If public filter notifications are enabled for manual mod actions, a brief notice is posted in the channel and auto-deleted after the configured duration.