Skip to main content

Chat moderation commands

Lumia ships five moderation commands as defaults. All are restricted to moderator and broadcaster roles by default. Each is a full chatbot command; you can rename it, change the user-level gating, adjust cooldowns, and edit the response message in Chatbot Commands. Behaviour is driven by the systemType and is tunable via the command's Options tab (systemOptions).

!permit

!permit <user> [seconds]

Temporarily allows a user to post a link without it being removed by the link-protection filter. Useful during giveaways or when a mod wants to let a specific user share something.

  • If seconds is omitted, the permit lasts for the durationSeconds value in the command's Options tab (default: 60 seconds).
  • An override like !permit streamername 120 grants 120 seconds regardless of the default.
  • Permits are per-user, per-Lumia-session. They reset on restart.
systemOptions fieldPurpose
durationSecondsDefault permit window (seconds). Per-use override beats this.
permitMessageChat reply when a permit is granted. {{permit_result}} in the response template resolves to this.
invalidInputReply when no username is given.

The chatbot reply template defaults to {{permit_result}}, which resolves to permitMessage on success or invalidInput on bad input.

!nuke

!nuke <lookback> <action> <pattern>
!nuke <pattern>

Bulk-removes recent messages matching a phrase across all connected platforms.

Arguments (all optional; omitted values fall back to systemOptions defaults):

ArgumentValuesNotes
lookbackNumber of secondsHow far back to scan. Omit to use defaultLookbackSeconds.
actiondelete · ban · a numberdelete removes the message. ban bans the sender. A number timeouts the sender for that many seconds. Omit to use defaultAction.
patternAny textThe phrase to match (case-insensitive substring). Required.

Examples:

!nuke spam                   → delete messages containing "spam" in the last 60s (default)
!nuke 120 delete spamword → delete matches in the last 2 minutes
!nuke 30 ban hater → ban every user who said "hater" in the last 30s
!nuke 60 30 linkspammer → 30-second timeout for each matched sender
systemOptions fieldPurpose
defaultLookbackSecondsFallback look-back window when not supplied in chat.
defaultActionFallback action (delete, ban, or a timeout in seconds).
resultMessageChat reply after the nuke completes. {{nuke_result}} resolves to the count of affected messages.
invalidInputReply when the pattern is missing.

!nuke scans all connected platforms simultaneously; messages from Twitch, Kick, YouTube, etc. are matched and the action is applied on whichever platform each message originated from.

!nukeusername

!nukeusername <user> [action]

Removes all recent messages from a single user across connected platforms, then optionally bans or timeouts them.

ArgumentValuesNotes
userUsernameRequired.
actiondelete · ban · a numberOptional. Omit to use defaultAction. delete removes messages only (no further action on the user).

Examples:

!nukeusername badactor           → delete all recent messages from badactor (default action)
!nukeusername badactor ban → delete messages + ban
!nukeusername badactor 60 → delete messages + 60s timeout
systemOptions fieldPurpose
defaultLookbackSecondsHow far back to scan for the user's messages.
defaultActionFallback action when omitted in chat.
resultMessageChat reply. {{nuke_result}} resolves to the count of removed messages.
invalidInputReply when no username is given.

!lockdown / !shield

!lockdown
!shield

Enables Twitch Shield Mode on your channel. Shield Mode blocks new and risky accounts from chatting during a raid.

If Also enable followers-only chat during lockdown is toggled on in Settings → Chat Moderation → Shield Mode, followers-only mode is also applied at the same time.

  • !lockdown and !shield are aliases; both trigger the same command.
  • Twitch only. On other platforms the command no-ops and the reply says so.
  • The current Shield Mode state is shown in Settings → Chat Moderation → Shield Mode with a live toggle (synced to Twitch on mount and on window focus).
systemOptions fieldPurpose
resultMessageChat reply when lockdown is enabled. {{lockdown_result}} resolves to this.

!unlock / !unshield

!unlock
!unshield

Lifts the lockdown: turns Shield Mode (and followers-only if it was enabled) back off.

  • !unlock and !unshield are aliases.
  • Twitch only.
systemOptions fieldPurpose
resultMessageChat reply when lockdown is lifted. {{lockdown_result}} resolves to this.

Automatic lockdown triggers

Lockdown can also be triggered automatically, without a chat command, in two ways:

  • Follow-bot spike detection: if a burst of new follows exceeds the threshold configured in Settings → Chat Moderation → Follow-Bot, lockdown engages automatically and follow alerts are suppressed for the spike window.
  • Auto-enable after stream ends: the slider in Settings → Chat Moderation → Shield Mode schedules lockdown N minutes after you go offline, to protect your channel while you're away.

Both paths use the same setLockdown code path as the chat commands, so the Shield Mode state in the UI stays in sync.

User-level gating

All five commands default to moderator + broadcaster only. You can widen or narrow this in the command editor's user-level picker the same way you would any other command. Viewers who don't meet the level requirement get a silent skip, no chat reply.