X / ACCOUNTS & CHANNELS
CHANMODE
Enforce channel modes.
Syntax
X service Private message/msg X CHANMODE #channel [modes [parameters]|NONE]Also available as: CHANMODES.
Required access
- Signed in to X
- View: operator (+o); change: master (+m) or owner (+n)
How it works
Each change replaces the whole mode lock. Include every required mode.
Modes: + keeps a mode enabled; - forbids it.
Parameters: +k needs a key; +l a limit; +j joins:seconds; +f a #channel.
Clear: CHANMODE #channel NONE
Disable AUTOLIMIT before locking +l or -l.
Options
Parameters
- #channel
- The channel to manage; replace #channel with its actual name.
Example commands
/msg X CHANMODE #channel -il+ntk mykeyIf it is refused
- AUTOLIMIT controls +l; disable it before setting a fixed limit lock.
Reviewed 27 September 2026. Current service settings and access checks apply. For the service’s current help, use /msg X HELP CHANMODE.