Documentation
Contents
Security
Automod, filters, link guard, antinuke, antiraid, backups and incident review.
The antinuke and antiraid setup guideSecurity is the largest category in the bot, and the one where a wrong default costs you a server. It is built in layers: automod and filters catch messages, link guard catches domains, antiraid catches join waves, and antinuke catches a compromised admin deleting channels or roles.
Because antinuke acts on the person doing the damage, the order matters. Whitelist the staff you trust, confirm your own account is exempt, take a backup, and only then turn it on.
Start here
;automodSpam, invite, caps, mention and link rules per channel.;filterYour own banned words and phrases, with exemptions.;antinukeThresholds and punishment for destructive admin actions.;backupA snapshot of channels, roles and permissions.;securityscoreWhich protections are actually on, and what is missing.
Worth knowing
- The server owner and the bot's owners always bypass antinuke. Everyone else, including administrators, does not unless they are whitelisted.
- antiraid and joingate handle people rather than permissions: join rate, account age, default avatars and verification. Turn one on before a raid, not during it.
- panic and lockdown are the switches you use in the moment. Both are designed to be undone with a single command once the situation is over.
All 180 commands
180 of 180
- ;adguard [on|off|action|duration|invites|phrases|links|log|allow|exempt|channel|shadow|test|reset]block advertising, invite spam and unauthorized links.
- ;aimod [on|off|mode|action|duration|threshold|rules|learn|teach|examples|forget|clear|log|test|recent|reset]learn this server's moderation style and review messages with AI.
- ;altcheck [@user]score how likely an account is a throwaway.
- ;altguard <on|off|threshold|action|role|log|list|settings>automatically act on high-scoring new accounts.
- ;altsweep [days]members whose accounts are younger than N days — and kick or ban them all.
- ;altsweep ban [days]ban every account younger than N days.
- ;altsweep kick [days]kick every account younger than N days.
- ;antinuke [setup|enable|disable|module|threshold|window|punishment|modlog|alerts|rollback|verbose|feed|whitelist|admin|release|history|test|playbook|drill]stop a burst of destructive staff actions.
- ;antinuke admin add|remove|list [@user]members who may configure and bypass anti-nuke.
- ;antinuke admin add @useradd an anti-nuke admin.
- ;antinuke admin listlist anti-nuke admins.
- ;antinuke admin remove @userremove an anti-nuke admin.
- ;antinuke whitelist add|remove|list [@user|@role]members and roles anti-nuke must ignore.
- ;antinuke whitelist add @user|@roletrust a member or a role.
- ;antinuke whitelist listshow the whitelist.
- ;antinuke whitelist remove @user|@roleremove a trusted member or role.
- ;antiraid [toggle|module|threshold|window|punishment|log|whitelist|username|unlock|config]screen joining accounts for raid signals.
- ;antiraid username add|remove|list|test [pattern]username patterns that look like raid accounts.
- ;antiraid username add (pattern)add a username pattern.
- ;antiraid username listlist username patterns.
- ;antiraid username remove (pattern)remove a username pattern.
- ;antiraid username test (pattern)test a username against the patterns.
- ;antiraid whitelist add|remove|list [@user]members who bypass anti-raid.
- ;antiraid whitelist add @useradd a member to the bypass list.
- ;antiraid whitelist listshow the bypass list.
- ;antiraid whitelist remove @userremove a member from the bypass list.
- ;audit [permissions|role]review dangerous server permissions.
- ;audit permissionsreview dangerous roles, bots, and members.
- ;audit role (role)check what a role could do if compromised.
- ;autoban [add <id> [reason]|remove <id>]user IDs that are banned the moment they join.
- ;autoban add <id> [reason]blacklist an ID. If they are here, they are banned now.
- ;autoban listevery blacklisted ID.
- ;autoban remove <id>take an ID off the blacklist.
- ;autodelete [channel] [duration|remove]delete every new message in a channel after a delay.
- ;automod [enable|disable|threshold|window|punishment|duration|exempt|test|reset]filter spam, caps, mass mentions, invites and links.
- ;automod invites <on|off>block or allow Discord invites.
- ;automod links <on|off>block or allow external links.
- ;automod log #channelwhere automod notifications go.
- ;automod shadow <on|off>watch automod without it acting.
- ;autopurge [channel] [duration|list|remove|now]channels that clean themselves.
- ;autoslowmode [enable|disable|ceiling|notify|settings]slowmode that raises and lowers itself.
- ;autoslowmode ceiling (channel) (seconds)the highest slowmode a channel may be pushed to.
- ;autoslowmode disable [channel]stop watching a channel.
- ;autoslowmode enable [channel] [messages per minute]watch a channel and slow it down when it speeds up.
- ;autoslowmode notify [channel]whether to post a notice when slowmode changes.
- ;autoslowmode settingsevery watched channel and its current rate.
- ;backup <create|list|view|restore|delete|settings>server configuration snapshots and conservative restores.
- ;databackup [now|restore|cancel]manage backups of the bot's data. owner only.
- ;databackup cancelcancel the staged restore.
- ;databackup nowcreate a data backup now.
- ;databackup restore (archive name)stage an archive for the next restart.
- ;dehoist [auto <on|off>]rename members whose names start with symbols to sort above everyone.
- ;drill [subcommand]practise a raid, nuke or spam response.
- ;drill cancel (id)close a drill without scores.
- ;drill finish (id)close a drill and show who knew.
- ;drill next (id)post the next question.
- ;drill start (raid|nuke|spam)start a scenario.
- ;escalation <add|remove|preset|enable|disable|settings|check|expiry>punish automatically at warning counts.
- ;evasion [enable|disable|action|threshold|channel|check|forget|settings]detect accounts returning after a ban.
- ;extralogs [channel|toggle|events|namelog]reactions, voice, names and command logs.
- ;filter [type #channel on|off [threshold] | add|remove|allow|unset|list|setup|settings|strikes|exempt|auto|log|reset]Automatic chat moderation and filtering.
- ;honeypot <add|remove|list> [#channel] [ban|kick|timeout|delete]channels where posting triggers punishment.
- ;impersonation <enable|disable|action|threshold|exempt|protect|settings|test>alert when someone's name imitates staff.
- ;incidents [list|view|resolve|search|stats]review what the security systems have done.
- ;incidents list [open|resolved]list security incidents.
- ;incidents resolve (id) [reason]mark an incident handled.
- ;incidents search (query)search incident summaries, detail and ids.
- ;incidents statssummarise incidents in this server.
- ;incidents view (id)view one incident.
- ;joingate [status|on|off|age|action|avatar|names|log]turn arrivals away on account age and other facts.
- ;joingate action <kick|ban|quarantine>what happens to somebody the gate stops.
- ;joingate age <days>how old an account must be to get in.
- ;joingate avatar <on|off>require an avatar to get in.
- ;joingate log [#channel]where the gate reports what it did.
- ;joingate names <on|off>turn away names that look auto-generated.
- ;joingate offturn the join gate off.
- ;joingate onturn the join gate on.
- ;joingate statuswhat the gate is currently checking.
- ;joingate test @usercheck a member against the gate without acting.
- ;joins [count]who joined most recently, and how new their accounts are.
- ;linkguard [on|off|action|log|whitelist|check|settings]scam and phishing link protection.
- ;linkguard action (delete|timeout|kick|ban)what happens to the poster.
- ;linkguard check (url)check a link without posting it.
- ;linkguard log [channel]where blocked links are reported.
- ;linkguard offturn link guard off.
- ;linkguard onturn link guard on.
- ;linkguard settingscurrent link guard settings.
- ;linkguard whitelist [add|remove]domains that are never blocked here.
- ;linkguard whitelist add (domain)never block a domain here.
- ;linkguard whitelist remove (domain)allow a domain to be blocked again.
- ;lockdown [start|end|status|channel|held]close every channel at once, and open them properly again.
- ;lockdown channel <#channel> [on|off]lock or unlock one channel.
- ;lockdown endrestore every channel to what it was.
- ;lockdown heldwhich channels the lockdown is holding.
- ;lockdown start [reason]deny messages and new threads in every text channel.
- ;lockdown statuswhether the server is locked down.
- ;massban <ids...> [reason]ban by ID — one or many, whether they are here or not.
- ;namefilter [on|off|add|regex|remove|staff|action|log|list|scan]block words and impersonation in names.
- ;namefilter action (rename|kick|ban)what happens to a matching name.
- ;namefilter add (word)block a word in names.
- ;namefilter listeverything the filter is doing.
- ;namefilter log [channel]where name filter hits are logged.
- ;namefilter regex (pattern)block a pattern in names, written with `*` wildcards.
- ;namefilter remove (word or pattern)stop blocking a word or pattern.
- ;namefilter scancheck everyone already in the server.
- ;namefilter staff (on|off)block names that copy a staff member's.
- ;panic [on|off|status] [reason]locks channels, disables invites and maximizes verification; `panic off` restores.
- ;panic offrestore everything panic mode changed.
- ;panic on [reason]lock the server down now.
- ;panic statusis panic mode on
- ;pauseinvites <on|off>pause or resume every invite to the server.
- ;quarantine [add|remove|list|setup|purge]strip a member's roles without banning them.
- ;quarantine add @user [reason]quarantine a member, keeping their roles for later.
- ;quarantine listeveryone currently quarantined.
- ;quarantine purgerelease everybody currently quarantined.
- ;quarantine remove @userrelease a member and restore their roles.
- ;quarantine setup @roleset the role quarantined members are given.
- ;raidmode <on|off>everything at once: gate on, strictest settings.
- ;report @user <reason>report a member to the staff.
- ;report channel [#channel]where reports go, or `off`.
- ;securityscoregrade how well-protected this server is, with fixes.
- ;servercheck [schedule|off]check server permissions and configured targets.
- ;servercheck offstop recurring server health reports.
- ;servercheck schedule (#channel) [minutes]schedule recurring server health reports.
- ;setups [unlock]what has been set up in this server, and what undoes each one.
- ;setups unlock (command)let a setup command run again.
- ;suspicious [days]members whose accounts look new or generated.
- ;trust [@user]how established a member is, as one number.
- ;trust adjust @user <points> [note]add or remove trust by hand.
- ;trust low [below]members below a trust score.
- ;trust topthe most trusted members.
- ;trust weightswhat each trust signal is worth.
- ;trust why [@user]exactly where a trust score came from.
- ;verify [setup|quicksetup|preview|panel|mode|role|unverified|minage|log|reset|enable|disable|settings|appearance|messages]gate new members behind a verification step.
- ;verify appearance title|body|note|button|colour|image|banner|footer|emoji|style|counter|counter-text|icon|age|age-label|age-text|mode-note|mode-text|role-note|role-text|link-label|link-url|resetcustomise every part of the verification panel.
- ;verify appearance age (on|off)show or hide the account-age field.
- ;verify appearance age-label (text)set the account-age field label.
- ;verify appearance age-text (text)set the account-age field text; {days} works.
- ;verify appearance banner (url|reset)set the large panel image.
- ;verify appearance body (text)set the panel body.
- ;verify appearance button (text)set the button label.
- ;verify appearance colour (hex|name|rgb|reset)set the panel accent colour.
- ;verify appearance counter (on|off)show or hide the verified-member counter.
- ;verify appearance counter-text (text)set the counter line; {count} and {members} work.
- ;verify appearance emoji (emoji|reset)set the button emoji.
- ;verify appearance footer (text|reset)set the panel footer text.
- ;verify appearance icon (on|off)show or hide the server icon beside the title.
- ;verify appearance image (url|reset)set the small thumbnail image.
- ;verify appearance link-label (text)set the label of the panel's link button.
- ;verify appearance link-url (url|reset)set the panel's link button URL.
- ;verify appearance mode-note (on|off)show or hide the how-it-works line.
- ;verify appearance mode-text (text)set the how-it-works line; {mode} works.
- ;verify appearance note (text|reset)add a line under the body.
- ;verify appearance resetreset the panel appearance.
- ;verify appearance role-note (on|off)show or hide the role line.
- ;verify appearance role-text (text)set the role line; {role} works.
- ;verify appearance style (style)set the button colour: success, primary, secondary or danger.
- ;verify appearance title (text)set the panel title.
- ;verify messages success|age|already|disabled|wrong|modal-title|modal-label|code|log-title|log-text|log-footer|log-color|reset [text]customise every verification reply and the modal.
- ;verify messages age (text)set the message when an account is too new.
- ;verify messages already (text)set the message for an already verified member.
- ;verify messages code (word|reset)set the word typed in code mode.
- ;verify messages disabled (text)set the message when verification is off.
- ;verify messages log-color (hex|name|rgb|reset)set the log entry colour.
- ;verify messages log-footer (text|reset)set the log entry footer.
- ;verify messages log-text (text|reset)set the log entry text; {member}, {id}, {method}, {account} and {joined} work.
- ;verify messages log-title (text)set the title of the verification log entry.
- ;verify messages modal-label (text|reset)set the modal input label.
- ;verify messages modal-title (text)set the modal title.
- ;verify messages resetreset every verification message.
- ;verify messages success (text)set the message after someone verifies.
- ;verify messages wrong (text)set the message for a wrong code.
- ;watch [add|remove|list|note]keep an eye on specific members.
- ;watchlist [channel|add|remove|note|info|list]members whose activity is mirrored to staff.
- ;watchlist add (member) [reason]start watching someone.
- ;watchlist channel (#channel)where the mirrored activity goes.
- ;watchlist info (member)one person's watch entry and notes.
- ;watchlist listeveryone being watched.
- ;watchlist note (member) (text)add a note to someone's watch entry.
- ;watchlist remove (member)stop watching someone.
