Discord: moderation
Party Builder channel and member moderation: lock, unlock, nuke, purge, slowmode, timeout, clone_category.
These Party Builder slash commands work in any Discord server where the bot is present. They are not tied to Guild Builder app guilds. Callers need Discord Manage Channels (channel commands) or Moderate Members (timeouts). Destructive actions require an ephemeral Confirm / Cancel.
/lock
Description: Deny send-message permissions for @everyone (or an optional role) in the current channel.
Options: role (optional)
Permission: Manage Channels
/unlock
Description: Clear those send-message denies so the role inherits again.
Options: role (optional)
Permission: Manage Channels
/nuke
Description: Recreate the current channel empty (same name, type, parent, permissions, position) and delete the original — effectively wiping messages.
Safety: Ephemeral Confirm / Cancel (invoker only).
Permission: Manage Channels
/purge
Description: Delete recent messages in the current channel.
Options:
amount(optional): 1–100 recent messagesdays(optional): 1–30 day window; default 14 when neither option is set
Messages older than 14 days cannot use Discord bulk delete and are removed one-by-one (capped for safety). Ephemeral result.
Permission: Manage Channels and Manage Messages
/slowmode
Description: Set per-user slowmode on the current channel.
Options: seconds (0–21600; 0 turns it off)
Permission: Manage Channels
/timeout
Description: Timeout a member.
Options: member (required), duration (required, e.g. 30m, 2h, 1d), reason (optional)
Discord API max is 28 days. Respects role hierarchy (cannot timeout the owner, yourself, or equal/higher roles).
Permission: Moderate Members
/untimeout
Description: Lift a timeout early.
Options: member (required)
Permission: Moderate Members
/clone_category
Description: Clone a category and every child channel (same names, types, order, permissions). No messages or forum posts are copied. The new category is placed just below the original.
Options: category (required)
Safety: Ephemeral Confirm / Cancel (invoker only).
Permission: Manage Channels