!nukeusername
TwitchYouTubeKick
- Access
- Super Moderator
- Aliases
!nukeuser
The !nukeusername command is a moderation tool allowing moderators to perform bulk actions (timeout or ban) on users whose usernames contain specific text or match a regular expression and have chatted within a specified lookback period.
!nukeusername <lookback_seconds> <action> <match_text_or_regex>Examples
Section titled “Examples”Timeout users for 300s whose username contains “bot123” and chatted in the last 60s:
Ban users whose usernames match a regex pattern (e.g., starts with “troll_”) and chatted in the last 5 mins:
Parameters
Section titled “Parameters”<lookback_seconds>(Required): The duration (in seconds, max 300) to scan previous chat messages to find users who chatted.<action>(Required): The moderation action:- Number (e.g.,
60): Timeout duration in seconds. ban: Permanently ban the users.- Note: Unlike
!nuke,deleteis generally not applicable here as it targets message content, not usernames.
- Number (e.g.,
<match_text_or_regex>(Required): The text or pattern to match against usernames.- For plain text matching:
badnamepart - For regular expression matching: Wrap the pattern in forward slashes, e.g.,
/botaccount\d+/i(theimakes it case-insensitive).
- For plain text matching:
Configuration
Section titled “Configuration”- The command’s permission level can be adjusted under
Chatbot->Chat Commands->Default Commands. It’s highly recommended to keep this restricted.