FiveUnityManual

Mention commands

Mention commands let staff act on a channel by talking to FiveUnity. Type @FiveUnity lockdown in a channel and it locks; type @FiveUnity unlock and it opens again, with every permission put back exactly as it was. There is nothing to look up mid-incident: no slash command, no menu.

Note

Where: Dashboard โ†’ Safety โ†’ Mention commands ยท In Discord: start a message with @FiveUnity and a command word, in any channel

#The commands

TypeWhat it does
@FiveUnity lockdownLocks the channel you are in until someone unlocks it.
@FiveUnity lockdown 30mLocks it and opens it again after 30 minutes. 2h, 1h30m, 2 hours and 1d work too, up to 30 days.
@FiveUnity lockdown #general 1h spam waveLocks another channel, for an hour, with a reason that shows on the notice. The channel, time and reason can go in any order.
@FiveUnity unlockLifts the lockdown in this channel. @FiveUnity unlock #general lifts it somewhere else.
@FiveUnity slowmode 10sSets slowmode: 10s, 2m, 1h, up to six hours. @FiveUnity slowmode off turns it off; @FiveUnity slowmode on its own uses your default.
@FiveUnity purge 20Deletes the last 20 messages, and the command with them. Add a member (purge 50 @someone) or bots to delete only theirs. Pinned messages and anything older than 14 days are kept.
@FiveUnity helpLists the commands the person asking may use.

The message has to start with FiveUnity's mention, so a member writing "can someone @FiveUnity lockdown this?" in the middle of a sentence never locks anything. Either @FiveUnity entry that Discord offers when you type works: the bot or its role.

lock, slow and clear are already set up as shorter words for lockdown, slowmode and purge, and commands works for help. You can change every word on the dashboard.

#What a lockdown changes

A lockdown stops members chatting, reacting, opening threads and joining or speaking in voice in that one channel. FiveUnity posts a notice in the channel saying who locked it, why, and when it opens again.

  • @everyone loses those permissions.
  • Roles that open the channel lose them too. If a Verified role is what lets members talk there, locking @everyone alone would do nothing, so that role is muted as well.
  • Staff keep talking. Roles in your FiveUnity permission groups, and any roles you add under Also keep these roles talking, are given an explicit allow. They never gain anything they could not already do in that channel.
  • Administrators are never muted; Discord does not let a channel mute them.
  • FiveUnity gives itself permission to post there, so it can show the notice and answer unlock.

Unlock puts back exactly what was there before, overwrite by overwrite, and removes anything the lock added. A channel that was synced to its category is synced again afterwards. FiveUnity only unlocks channels it locked: typing unlock in a read-only announcements channel leaves it read-only.

Locking a channel that is already locked tells you who locked it. Add a time (@FiveUnity lockdown 2h) to move its timer instead.

Tip

Threads take their permissions from their channel. Run lockdown in the parent channel, or name it: @FiveUnity lockdown #general.

#Who can use them

  • The server owner and anyone with Administrator can run every command.
  • Anyone with one of the roles picked under a command's Roles that may use it.
  • Anyone whose permission group holds the command's node:
NodeGrants
mentionEvery mention command. Also opens this dashboard page.
mention.lockdownlockdown and unlock
mention.unlockunlock only
mention.slowmodeslowmode
mention.purge or purgepurge, so anyone who can already run /purge can purge by mention

The default Moderator group (and every group above it) already holds lockdown, unlock and slowmode. help is open to everyone, but only lists what the person asking may run; someone who may run nothing gets your keyword answer for the word instead, if you have one.

When someone without access tries a command, FiveUnity says so once and the answer removes itself after a few seconds. Turn Tell members they can't use it off to stay silent instead.

#Settings

Open Safety โ†’ Mention commands.

SettingWhat it does
Mention commands enabledThe switch for all of them.
Remove the command messageDeletes the "@FiveUnity lockdown" message once it has run, so only the notice is left. Needs Manage Messages.
Tell members they can't use itAnswers someone without access once (at most every 30 seconds).

Each command has its own card:

SettingWhat it does
EnabledTurns that one command on or off.
Trigger wordsUp to five words that run it, separated by commas. Each word can run one command. The first one is shown in help and on notices.
Roles that may use itRoles that may run it on top of the owner, Administrators and the permission-group nodes above.
Keep staff talkingLockdown: roles in your permission groups stay unmuted. On by default.
Also keep these roles talkingLockdown: up to 10 more roles that stay unmuted.
Unlock automatically after (minutes)Lockdown: a timer for every lockdown that does not name its own. 0 keeps the channel locked until someone unlocks it.
Lock notice and Unlock noticeWhat FiveUnity posts. {moderator}, {channel}, {reason} and {duration} are filled in.
Slowmode when no time is givenSlowmode: the seconds a bare @FiveUnity slowmode sets. Default 10.
Most messages one purge may deletePurge: 1 to 100. Default 50.

Locked channels lists every channel locked right now, who locked it and when it opens. Unlock there does the same as typing unlock in the channel, notice included.

#What FiveUnity needs

CommandPermissions in the channel
lockdown, unlockManage Channels and Manage Permissions (and View Channel)
slowmodeManage Channels (Manage Threads in a thread)
purgeManage Messages and Read Message History

If one is missing FiveUnity says which, and changes nothing. A lockdown that fails part way puts back whatever it had already changed.

Every command is written to your staff log, with who ran it and where.