ReferenceCommands
Auto-mod commands
Every Auto-mod command in Dexy: usage, arguments, examples, the permission it needs and its cooldown.
Rules that catch spam, invites, bad links and words by themselves, raid protection and lockdowns.
Part of the Auto-mod module (on by default; turning modules on and off). How it all fits together: Auto-mod. 🔒 commands need the permission shown, Administrator or the server's Dexy admin role (permissions).
/d!automod#
List this server's auto-mod rules: what each catches, what it does, and whether it's on.
Auto-mod checks every new and edited message. Rules are off until you add them; mods are left alone unless a rule says otherwise.
/automod
d!automod
d!automod
See it in DiscordFluxer
d!automodevery rule at a glance
/d!automod add#
Add an auto-mod rule; its settings and actions can follow, else the type's defaults are used.
Types: spam, duplicates, mentions, caps, emoji, lines, invites, links, words, attachments, newcomers, zalgo, repetition, file_spam, phishing, link_spam, mention_spam, spoilers, masked_links, stickers. Without actions the rule deletes the message. then= escalates repeat offenders.
/automod add <type> [settings…] [actions…]
d!automod add <type> [settings…] [actions…]
d!automod add <type> [settings…] [actions…]
See it in DiscordFluxer
- typeneeded
- The rule type, like
invites,spamorwords. - settings…optional, one or more
key=value, like6/5s(spam),exact=word,other,deny=site.com,name=Invite_links,then=3/10m:timeout:1h,log=#channel,notice=on,--test.- actions…optional, one or more
delete,alert,warnorwarn:2,timeout:10m,kick,banorban:1d, in the order they run.
d!automod add invites delete alertdeletes invites to other servers and tells the modsd!automod add spam 6/5s delete timeout:10m6 messages in 5 seconds: delete and a timeoutd!automod add words exact=badword,slur delete warn then=3/1h:kickwarns, kicks on the third hitd!automod add links deny=scam.example delete --testtries a link rule without actingd!automod add phishing delete alert notice=ondeletes known phishing links and says why in the channel
/d!automod demo#
Try a text against Dexy's sample rules, to see what auto-mod can catch before you set it up.
The samples are the website demo's: blocked words, invites, links, phishing, masked links, mentions, capitals, emoji, zalgo, repeated text, spoilers and long messages. Nothing is acted on or kept.
/automod demo <text>
d!automod demo <text>
d!automod demo <text>
See it in DiscordFluxer
- textneeded
- The message to try.
d!automod demo WHY IS NOBODY ANSWERINGthe capitals sample would catch it
/d!automod disable#
Turn a rule off without removing it.
/automod disable <number>
d!automod disable <number>
d!automod disable <number>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2.
d!automod disable 2rule #2 stops checking messages
/d!automod edit#
Change a rule's settings, actions, name, escalation or test mode; what you leave out stays.
Giving any action replaces the rule's actions. --test turns test mode on, --live off.
/automod edit <number> [settings…] [actions…]
d!automod edit <number> [settings…] [actions…]
d!automod edit <number> [settings…] [actions…]
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2(seeautomod). - settings…optional, one or more
key=valuesettings, likemax=8orthen=off, and--test/--live.- actions…optional, one or more
- The new actions, like
delete warn:2.
d!automod edit 2 max=8rule #2 allows up to 8 mentionsd!automod edit 3 delete timeout:1hrule #3 now deletes and times out for an hourd!automod edit 4 --liverule #4 leaves test mode and acts
/d!automod enable#
Turn a rule on.
/automod enable <number>
d!automod enable <number>
d!automod enable <number>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2.
d!automod enable 2rule #2 checks messages again
/d!automod exempt#
Let channels or roles skip a rule, or choose whether mods skip it (they do unless you say so).
/automod exempt <number> [add|remove] <targets…>
d!automod exempt <number> [add|remove] <targets…>
d!automod exempt <number> [add|remove] <targets…>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2. - add|removeoptional
- Add the channels and roles (the default) or take them off the list.
- targets…needed, one or more
- Channel and role mentions or IDs,
mods on|off, orclear.
d!automod exempt 2 #memes @Trusted#memes and @Trusted skip rule #2d!automod exempt 2 remove #memes#memes is checked againd!automod exempt 2 mods offmods are checked by rule #2 too
/d!automod ignore#
Show the channels and roles every auto-mod rule leaves alone.
/automod ignore
d!automod ignore
d!automod ignore
See it in DiscordFluxer
d!automod ignorethe channels and roles no rule checks
/d!automod ignore add#
Leave a channel (or a whole category), or members with a role, out of every auto-mod rule.
/automod ignore add <target>
d!automod ignore add <target>
d!automod ignore add <target>
See it in DiscordFluxer
- targetneeded
- A channel or role: a mention or an ID.
d!automod ignore add #staffno rule checks #staffd!automod ignore add @Trustedno rule checks members with @Trusted
/d!automod ignore remove#
Let auto-mod check a channel or role again.
/automod ignore remove <target>
d!automod ignore remove <target>
d!automod ignore remove <target>
See it in DiscordFluxer
- targetneeded
- A channel or role: a mention or an ID.
d!automod ignore remove #staffthe rules check #staff again
/d!automod only#
Make a rule check only some channels, or only members with some roles (exempt ones still skip it).
Channels and roles are separate lists: with channels, the rule checks only there (a category covers the channels in it); with roles, only members who have one of them.
/automod only <number> [add|remove] <targets…>
d!automod only <number> [add|remove] <targets…>
d!automod only <number> [add|remove] <targets…>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2. - add|removeoptional
- Add the channels and roles (the default) or take them off the list.
- targets…needed, one or more
- Channel and role mentions or IDs, or
clear(everywhere, everyone).
d!automod only 2 #general #memesrule #2 checks only #general and #memesd!automod only 3 @Newrule #3 checks only members with @Newd!automod only 2 clearrule #2 checks everywhere again
/d!automod remove#
Remove an auto-mod rule for good (its past cases stay).
/automod remove <number>
d!automod remove <number>
d!automod remove <number>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2.
d!automod remove 2removes rule #2
/d!automod show#
Show one rule in full: its settings, actions, escalation, exemptions and hits.
/automod show <number>
d!automod show <number>
d!automod show <number>
See it in DiscordFluxer
- numberneeded
- The rule's number, like
#2or2.
d!automod show 2everything about rule #2
/d!automod style#
Pick how every rule's notice in the channel looks; a rule's own notice text still takes its place.
compact (the default) is the member's mention and a one-line embed, detailed an embed with the rule and what it did, text one line of text. Only the member is pinged.
/automod style [style]
d!automod style [style]
d!automod style [style]
See it in DiscordFluxer
- styleoptional
compact,detailedortext. Shows the styles with an example if left out.
d!automod stylethe styles, with the one in use markedd!automod style textnotices are one line of text
/d!automod test#
Try a text against the rules that are on, without acting or keeping it anywhere.
Spam and repeated-message rules need several messages, so they're skipped.
/automod test <text>
d!automod test <text>
d!automod test <text>
See it in DiscordFluxer
- textneeded
- The message to try.
d!automod test join fluxer.gg/abc123which rules an invite would set off
/d!lockdown#
Lock the server's text channels at once (a raid, a flood); optionally it ends by itself.
Locks every text channel, or only the lockdown channels when modset lockdown picked some. Members can't send messages there until lockdown end; roles allowed to send on their own (like mods) still can.
/lockdown [duration] [reason]
d!lockdown [duration] [reason]
d!lockdown [duration] [reason]
See it in DiscordFluxer
- durationoptional
- Ends it by itself after this, like
30mor2h. Until you end it, if left out. - reasonoptional
- Why; it goes in the case and Fluxer's audit log.
d!lockdown raidlocks the server until `lockdown end`d!lockdown 30m spam wavelocks it for 30 minutes
/d!lockdown end#
End the lockdown: every channel it locked gets Send Messages back as it was.
/lockdown end [reason]
d!lockdown end [reason]
d!lockdown end [reason]
See it in DiscordFluxer
- reasonoptional
- Why; it goes in the case and Fluxer's audit log.
d!lockdown end raid overopens the server again