Setting up Corvane
1. Add the bot
Press Add to Discord
Use the button at the top of this page. Choose your server and leave every permission ticked. They are exactly the ones Corvane needs, including View Audit Log, Manage Channels and Manage Webhooks, which anti-nuke uses to see who did what and to undo damage.
Move the bot's role up
Open Server Settings, then Roles. Drag the Corvane role above the roles you want it to manage, for example the roles it gives out as autoroles or reaction roles, and above the members you want it to be able to mute, kick or ban. For the protection modules, put it as high as you can, ideally just under the server owner's own roles.
Discord only lets a bot act on roles and members that are below its own highest role. This is the most common reason something "does nothing".
Sign in to the dashboard
Open the dashboard, press Sign in with Discord, and choose your server. Only people with Manage Server can change a server's settings.
2. Switch on what you need
Nothing runs until you turn it on. On the Overview page every feature has its own switch, and each one has a settings page.
Moderation
- Mod log channel: every case and automod action is posted here. Choose a channel only your moderators can see.
- Moderator roles: people with one of these roles can use every moderation command. People with the matching Discord permission (Moderate Members, Kick Members, Ban Members, Manage Messages) can use the commands without a moderator role, and admins always can.
- Protected roles: members with these roles can't be warned, muted, kicked or banned with the bot.
- Automatic punishments: for example, mute for an hour at 3 warnings and ban at 6. Warnings removed with
!delwarnor!clearwarnsstop counting.
The Recent cases table at the bottom of the page lists the latest cases and can be filtered by member ID.
Automod
Each rule has its own switch and its own choice of what happens: delete the message, delete it and warn, or delete it and mute. Moderators, anyone who can manage messages, and any roles or channels you choose to ignore are never checked.
- Links: remove every link, or only Discord invites. Add websites you want to allow, one per line, like
youtube.com. - Bad words: one per line. Capitals and accents are ignored. Words match whole words only, and ending a word with
*also catches longer ones.
Welcome and autoroles
Choose a channel and write your message. Use these in the text and they are filled in for each member:
| Write | It becomes |
|---|---|
{user} | A mention of the member |
{username} | Their name, without a mention |
{server} | Your server's name |
{count} | The number of members |
Autoroles are given to every new member (not bots). Add a delay to hand out a "Member" role a few minutes after joining. Only roles below the bot's own role can be chosen.
Reaction roles
Add a role message
Give it a title, pick the channel, and add each emoji with the role it gives. Turn on "Pick one only" if members should have one role from the list at a time.
Save, then post
Press Save changes, then Post message. The bot sends the message and adds the reactions. Changing the message later and pressing Update message edits the same one.
To use a custom emoji from your server, write it as <:name:123456789012345678>.
Custom commands
Make a command like !rules that replies with a message. The reply can use {user}, {username}, {server}, {channel} and {args} (whatever the member typed after the command). Only the member who typed the command can ever be mentioned. A custom command can't reuse a built-in name like warn or ban.
Protection
The four protection modules are in their own group in the dashboard. Each one has a switch and a settings page. The pages tell you if a permission is missing, or if a powerful role sits above the bot where it can't act on it.
Anti-nuke
- Trusted people: add the user IDs of people who should never be limited. The server owner and Corvane are always trusted. Everyone else, admins included, is watched. To copy an ID, turn on Developer Mode in Discord (Settings, Advanced), right-click the person and choose Copy User ID.
- Limits: how many channels, roles, bans and so on one person may do inside the time window, for example 3 channels deleted in 30 seconds. Set a limit to 0 to switch that check off.
- What happens: the person loses their powerful roles (or is kicked or banned, if you chose that), deleted channels and roles are put back, channels and roles they created are removed, and bans they made are lifted. For ten minutes afterwards, anything else they do is undone straight away. Your alert channel is told, and the server owner gets a DM.
- What it can't undo: messages in a deleted channel, kicked members (they can rejoin with a new invite), and which members had a deleted role if the bot did not know them yet.
Anti-raid
- Choose how many members joining within how many seconds starts raid mode, what happens to newcomers while it lasts (kick, ban, or mute until it ends), and how long it lasts.
- "Only act on accounts younger than" lets older accounts through during a raid. Leave it at 0 to act on everyone.
- You can start and stop it yourself:
!raidmode on 30m,!raidmode off,!raidmode status. - "New members cannot post links for this many minutes" works all the time, not only during a raid.
Scam shield
- Links: every link gets a score from 0 to 100. Nothing is ever opened or visited. Pick how careful it is. Add websites that must always be allowed or always blocked, one per line.
- QR codes: pictures posted in the server are read for QR codes, and the address inside is judged the same way. If the bot's owner has not installed the QR reader, the page says so, and links are still checked.
- When something is found: the message is deleted, and you choose whether to also warn, mute, kick or ban. Muting stops a hacked account from posting the same scam again. Their other recent messages with links or pictures are removed too.
- Moderators, anyone who can manage messages, and the roles and channels you choose to ignore are never checked. Use
!scanto test a link.
Alt detection
- Each new member gets a score: a young account adds 2 (3 if under a day old), a new account without a picture adds 1, and a name or picture matching someone banned from your server adds 2 to 4. You choose the score where it acts.
- The default is to only send an alert, because this can be wrong. A new account with a common name can look like a banned person.
- Discord does not share IP addresses or devices with bots, so no bot can catch every alternate account.
- The first time it runs, it reads your server's existing ban list, so it needs the Ban Members permission.
If something does not work
- The bot ignores commands. Check that it can see and send messages in that channel, and that the feature is switched on in the dashboard.
- "Missing permissions" on the dashboard. Give the Corvane role the permissions listed, in Server Settings, Roles.
- It can't mute, kick, ban or give a role. Move the Corvane role above the member or role involved.
- Anti-nuke did not stop someone. The person was probably trusted or the server owner, or their roles are above Corvane's role. Move the Corvane role to the top. Anti-nuke also needs View Audit Log.
- Scam shield says QR reading is not available. That is up to whoever runs the bot. Links are still checked.
- A role is missing from a list. Roles above the bot's own role can't be given by it, so they are hidden from autorole and reaction role lists.
Still stuck? Email [email protected] or join the support server.