Security commands
Type / and pick the slash command, or mention Flanker before the command. (round) parameters are required; [square] parameters are optional. Expand a syntax row for its slash command, permissions and example.
antinuke
Stops nukes: mass bans and kicks, deleted channels and roles, dangerous permission grants, webhook and emoji spam, vanity changes and rogue bots. Whoever trips a limit is punished and the damage is undone where possible. Run `antinuke` on its own for a setup panel with menus and buttons.
antinuke config
Shows every module, its limit and punishment, admins and trusted bots.
antinuke reset
Resets all antinuke settings and turns protection off. Requires backup-owner approval when configured, except for team site admins using the dashboard. End panic first; saved failed-role recovery is kept.
antinuke setup
Turns antinuke on. Beginner applies the recommended protection in one go; advanced adds optional hardening, asked as yes or no questions.
antinuke toggle (on/off)
Turns antinuke as a whole on or off. Module settings are kept.
antinuke (module) (on/off) [--threshold N] [--do punishment] [--command on/off]
Sets up one module. Modules: ban, kick, channel, role, webhook, emoji, vanity, botadd, permissions. Threshold is how many actions in a short window trip it (1 to 10). Punishments: warn, jail, kick, ban, stripstaff, timeout. --command also counts bans and kicks done through bot commands.
/antinuke run ban on --threshold 3 --do banantinuke list
Lists the modules and whether each is on.
antinuke whitelist (member/bots/list)
Lets a member act without being punished, or whitelists every bot in the server at once. Run it again to remove them.
/antinuke whitelist @shahzainantinuke admin (member/list)
Makes a member an antinuke admin: they can change antinuke settings and aren't punished. Run it again to remove them.
/antinuke admin @shahzainantinuke protect (role/user) (punishment)
Protects a role or member: anyone who removes, deletes or edits it is punished straight away.
/antinuke protect @Staff banantinuke protected
Lists protected roles and members.
antinuke protection
Shows Flanker Protection: the role that stops anyone below it from banning, kicking or timing out without going through flanker.
antinuke protection allow (role)
Lets a role sit above Flanker Protection.
antinuke protection off
Turns Flanker Protection off.
antinuke shield (channels/webhooks/admin) (on/off)
Extra hardening: channel deletes go to a trash you can restore from, webhooks can only be made through flanker, and Administrator can't be handed out.
antinuke trusted
Lists trusted bots, including the built-in list of well-known bots.
antinuke trusted add (bot) (security/utility)
Trusts a bot. Security bots keep full permissions. Utility bots lose Administrator and Manage Webhooks. The moderator behind either tier still counts.
/antinuke trusted add @bleed utilityantinuke trusted set (bot) (security/utility)
Changes a bot tier, including bots approved through DMs. Uses the same approval rules as trusted add.
/antinuke trusted set @bot utilityantinuke trusted remove (bot)
Stops trusting a bot, including DM-approved bots. It remains listed as Not trusted on the dashboard.
antinuke trusted builtin (on/off)
Turns the built-in trusted bot list on or off.
antinuke trusted cap (utility/security) (number)
How many actions trusted bots of a tier may take before antinuke steps in.
antinuke trusted do (utility/security) (strip/kick/ban)
What happens to a trusted bot that goes over its cap.
antinuke backupowner (member/off)
Sets a backup owner who must approve anything that weakens antinuke, so a hacked owner account can't switch it off.
/antinuke backupowner @friendantinuke backup [on/off]
flanker's backup role: specific security permissions, directly under flanker's role, held only by flanker. Re-inviting flanker with fewer permissions can't disarm it then. Only the owner and backup owner can delete it, take it off flanker or remove its permissions; anyone else who tries is punished. Setup asks before adding it.
/antinuke backup onantinuke event (duration) [--ban N] [--kick N] [--channel N] [--role N] [--webhook N] [--emoji N] [--permissions N]
Raises limits for a while, for events where staff need to act fast. They go back to normal when it ends.
/antinuke event show 2h --ban 10antinuke event end
Ends an event early.
antinuke panic
Shows panic mode and strict native-ban protection. With antinuke and ban protection enabled, the first unknown native ban starts panic immediately, even if legitimate. Known flanker ban requests are excluded. The existing 10-punishment/30-minute trigger also remains.
antinuke panic start [reason]
Turns panic mode on: every antinuke limit drops to 1, dangerous permissions are paused on every role below flanker, and every role, channel and permission change by anyone but the owner is undone.
antinuke panic recover
Retries saved failed-role permissions once. Requires backup-owner approval when configured.
antinuke panic end
Ends panic mode even if some roles cannot be restored. Failed roles are reported and saved for manual recovery. Needs the backup owner's approval when one is set. A nuke report goes to the mod log.
antinuke panic nativebans (on/off)
Controls the first-native-ban brake. When enabled, bot action caps use attribution already available without waiting for late command evidence. Disabling it is a security weakening and follows owner/backup-owner approval rules. Pauses persist through restarts. Failed role changes remain retryable; only the owner ends panic.
/antinuke panic nativebans onantinuke panic triggers (count) (minutes)
How many antinuke triggers start panic mode, and within how long.
/antinuke panic triggers 10 30antinuke panic notice (channel/off)
Posts a short public notice there when panic mode starts.
antiraid
Catches raids: waves of new accounts joining and chat floods. Suspicious joiners are held behind a captcha, kicked or banned, and the server can lock itself down until the raid passes. Run `antiraid` on its own for a setup panel with menus and buttons.
antiraid setup
Guided setup. Beginner uses recommended limits; advanced asks for each limit and action.
antiraid state (on/off)
Starts or ends active raid mode. Turning detection off is a separate setting.
antiraid toggle (on/off)
Turns raid detection rules on or off without starting a raid by hand.
antiraid config
Shows every antiraid setting.
antiraid tickets (on/off) [--accounts N] [--window 3s]
Ticket bursts default to six distinct accounts in three seconds. Enabled automatically for existing AntiRaid setups. Flanker stops new tickets during raid mode and removes recent tickets created by flagged raid accounts. Repeated attempts by one account do not fill the limit.
/antiraid tickets toggle on --accounts 6 --window 3santiraid voice (on/off) [--accounts N] [--window 3s]
Join to Create bursts default to six distinct accounts in three seconds. Raid mode locks creator channels, existing voice joins and voice-channel chat. Existing rooms stay, except recent rooms made by flagged raid accounts.
/antiraid voice toggle on --accounts 6 --window 3santiraid tickets setup
Guided setup for another ticket bot. Asks for its bot ID, panel message link and ticket category. Other applications' clicks are private; detection uses channel-creation audit events and one member permission grant. Ambiguous openers are not punished. Use a dedicated panel channel because raid mode hides that channel.
antiraid tickets external (bot ID) (panel message link) (category)
Adds an external ticket panel in one step. Verifies that the bot owns the panel and is in this server.
antiraid tickets remove (panel message link)
Removes an external panel from the watch list.
antiraid voice add (#channel)
Watches another bot's Join to Create voice channel. Flanker's own creators are included automatically.
/antiraid voice add #join-to-createantiraid voice remove (#channel)
Stops watching an external creator.
/antiraid voice remove #join-to-createantiraid setup advanced [--tickets on/off] [--tickets-accounts N] [--tickets-window 3s] [--voice on/off] [--voice-accounts N] [--voice-window 3s] [--media on/off] [--media-messages N] [--media-window 3s] [--media-accounts N] [--links on/off] [--links-messages N] [--links-window 10s] [--links-accounts N] [--automod on/off] [--automod-messages N] [--automod-window 10s] [--automod-accounts N]
Optional resource and coordinated-content limits used by advanced setup. Resource rules default to six accounts in three seconds. Coordinated media, links and automod require at least two accounts.
antiraid media (on/off) [--messages N] [--window 3s] [--accounts N]
Requires every participating account to burst image/video messages. Defaults: 6 per account in 3 seconds, at least 2 accounts. Albums count once. Runs while chat detection, raid mode or post-raid watch is active.
/antiraid media on --messages 6 --window 3s --accounts 2antiraid links (on/off) [--messages N] [--window 10s] [--accounts N]
Repeated complete link targets, not every link on the same website. Defaults: 3 copies per account in 10 seconds, at least 2 accounts.
/antiraid links on --messages 3 --window 10s --accounts 2antiraid automod (on/off) [--messages N] [--window 10s] [--accounts N]
Correlates live Discord mention-spam blocks containing mass pings. Needs an enabled Discord mention-spam rule. Defaults: 3 attempts per account in 10 seconds from at least 2 accounts. One block never qualifies.
/antiraid automod on --messages 3 --window 10s --accounts 2antiraid joins (on/off) [--joins N] [--window 10s] [--smart on/off] [--do captcha/kick/ban] [--lock on/off]
Join raid detection: how many joins in how long count as a raid, and what happens to the joiners.
/antiraid joins on --joins 8 --window 10s --do captchaantiraid flood (on/off) [--messages N] [--window 3s] [--accounts N] [--repeats N] [--repeat-window 10s] [--repeat-chars N] [--do captcha/jail]
Detects repeated text, mention floods and bot-like bursts. Requires two accounts by default. With one, a single sender is restricted with the flood action (lockdown becomes a 30 minute timeout) and raid mode stays off; raid mode needs two or more accounts. Three chopped-up or hidden-invite messages from one account in five seconds are handled the same way.
/antiraid flood on --messages 6 --window 3s --accounts 2 --repeats 3 --repeat-window 10s --repeat-chars 400antiraid avatar (on/off) [--do kick/ban]
Acts on new members with no profile picture during a raid. Strict: some real people never set one.
antiraid newaccounts (on/off) [--threshold days] [--do kick/ban]
Acts on accounts younger than a number of days.
/antiraid newaccounts on --threshold 7 --do kickantiraid log (#channel/off)
Where raid alerts are posted.
/antiraid log #antiraid-logantiraid whitelist (member)
Lets a member through raid checks.
antiraid verify (@member/all)
Lets members waiting on the captcha in.
antiraid unverified
Lists members still waiting on the captcha.
antiraid end
Ends raid mode and unlocks the server.
antiraid reset
Resets all antiraid settings after unlocking channels and releasing captcha members. Failed recovery records are kept. Team site admins can also reset from the dashboard.
raid
Starts raid mode by hand: locks the server and acts on recent joiners.
raid (duration) (kick/ban) [reason]
Acts on everyone who joined in the last duration and turns raid mode on.
/antiraid raid 10m ban join raidhoneypot
A trap channel only spam bots and hacked accounts post in. Anyone who sends a message there is punished. Run `honeypot` on its own for a setup panel with menus and buttons.
honeypot setup
Creates the trap channel with a warning message.
honeypot punishment (kick/ban/softban/timeout)
What happens to accounts caught in the trap.
/honeypot punishment softbanhoneypot message (message/view/reset)
The warning posted in the trap channel.
honeypot alerts (channel)
Where catches are reported.
honeypot disable
Removes the trap.
fakepermissions
Lets staff use flanker's commands as if they had a permission, without giving them the real Discord permission. Never unlocks security settings. Run `fakepermissions` on its own for a setup panel with menus and buttons.
fakepermissions list
Shows every role with fake permissions.
fakepermissions add (role) (permissions)
Gives fake permissions. Antinuke admins and owner-level members can also grant admin-level access.
/fakepermissions add @Mods ban_members, kick_membersfakepermissions remove (role) (permissions)
Takes fake permissions away from a role.
fakepermissions reset
Removes every fake permission after confirmation.
filter
Deletes blocked words, links, invites, spam, caps, mass mentions, emoji spam and more. Strict: it sees through spacing, look-alike letters and other tricks. Run `filter` on its own for a setup panel with menus and buttons.
filter config
Shows every filter and where it applies.
filter add (word, word, ...) [strict]
Blocks one or more words, separated by commas. Normally a word is only blocked when typed on its own. Add strict to block it anywhere, even inside other words.
/filter add badword, scam link strictfilter remove (word, word, ...)
Unblocks one or more words, separated by commas. Removes the strict version too.
/filter remove badword, scam linkfilter list
Lists blocked words and regex patterns.
filter regex (pattern)
Blocks anything matching a regex pattern. Test patterns on the dashboard first.
/filter regex disc(o|0)rd\.giftfilter whitelist (word)
Allows a word that would otherwise match.
filter links [channel/all] (on/off) [--do timeout (duration)]
Deletes links, including bare domains.
/filter links all onfilter invites [channel/all] (on/off) [--do timeout (duration)]
Deletes Discord invites.
filter links whitelist (domain)
Allows a domain through the link filter.
/filter links-whitelist youtube.comfilter (filter) exempt (role)
Lets a role skip one specific filter: links, invites, spam, caps, massmention, emoji, spoilers or musicfiles. Run it again to remove.
/filter exempt-role links exempt @giffilter (filter) exempt list
Shows the roles that skip that filter.
/filter exempt-list links exempt listfilter spam [channel/all] (on/off) [--threshold N] [--window Ns]
Too many messages too fast.
/filter spam all on --threshold 6 --window 5sfilter caps [channel/all] (on/off) [--threshold N]
Messages that are mostly capital letters.
filter massmention [channel/all] (on/off) [--threshold N]
Messages that mention too many people.
filter emoji [channel/all] (on/off) [--threshold N]
Messages with too many emojis.
filter spoilers [channel/all] (on/off) [--threshold N]
Messages with too many spoilers.
filter musicfiles [channel/all] (on/off)
Audio file uploads.
filter edit (channel/all) (on/off)
Also checks edited messages.
filter exempt (role)
Lets a role skip the word filter. Use "filter (filter) exempt (role)" for links, invites, spam and the others.
filter strikes (on/off) [--count 2-20] [--window 1m-24h] [--timeout 1m-28d]
Times out members who keep hitting the filter.
/filter strikes on --count 3 --window 10m --timeout 1hfilter reset
Turns every filter off.
channel
Channel tools with antinuke's trash: deleted channels can be restored for a few days.
channel create (name) [text/voice] [category]
Creates a channel.
/security channel create announcements textchannel rename [channel] (name)
Renames a channel.
channel delete (channel)
Moves a channel to the trash instead of deleting it for good.
channel trash
Lists trashed channels.
channel restore (channel or name)
Brings a trashed channel back with its permissions.
webhook
Webhooks made through flanker, so antinuke can tell them apart from rogue ones.
webhook create (channel) (name)
Creates a webhook and DMs you its URL.
webhook list [page]
Pages through webhooks and their identifiers.
webhook send (identifier or channel) [--name (name)] [--avatar (link)] [--thread (forum post title)] --message (message)
Posts through flanker's webhook. With a channel, flanker makes its webhook there the first time. Buttons and menus work. --name and --avatar change who it appears as.
/security webhook send #news --name News --message {embed}$v{title: Update}webhook url (webhook link) [--name (name)] [--avatar (link)] [--thread (forum post title)] --message (message)
Posts through your own webhook from this server. Only link buttons work there; others are left out.
/security webhook url https://discord.com/api/webhooks/1/abc --message Hellowebhook edit (message link) --message (new message)
Replaces a message sent through flanker's webhook.
/security webhook edit https://discord.com/channels/1/2/3 --message Updatedwebhook delete (identifier)
Deletes a webhook.
elevate
Temporary permissions: staff ask for a permission for a while and the owner approves it.
elevate (permission[,permission]) (duration) [reason]
Asks the owner for permissions for 1 minute to 24 hours. They approve or deny it in DMs.
/security elevate run ban_members 30m cleaning up spamelevate list [page]
Pages through active and pending elevations.
elevate revoke (member)
Ends someone's elevation early.
backup
Keeps a copy of channels, roles and emojis so they can be restored after a nuke.
backup enable
Turns backups on and saves a first snapshot.
backup now
Saves a snapshot right now.
backup restore
Recreates missing channels, roles and emojis from the latest snapshot.
backup disable
Turns backups off.