X / ACCOUNTS & CHANNELS

TEMPBAN

Temporarily ban matching users.

Syntax

X service Private message
/msg X TEMPBAN #channel <mask|nick> <duration> [reason]

Required access

  • Signed in to X
  • Master (+m) or owner (+n)

How it works

Target: A nickname or nick!ident@host mask. Matching users are removed; ban exceptions apply.

Duration: Combine s, m, h, d, w, M (30 days) or y (365 days); maximum 1 year.

Persistence: X reapplies a removed ban when a matching user joins, until its expiry.

Removal: Use UNBAN (also BANDEL) or BANCLEAR to end it early.

Parameters

#channel
The channel to manage; replace #channel with its actual name.
mask|nick
Choose one of: mask, nick.
duration
A duration with units such as 30m or 1h30m.

Example commands

/msg X TEMPBAN #channel *!*@spam.example 1h30m Repeated disruption

If it is refused

  • Authentication and channel permission checks apply; suspended channels cannot be managed.

Reviewed 27 September 2026. Current service settings and access checks apply. For the service’s current help, use /msg X HELP TEMPBAN.