Moderation: ban, kick, mute, warn and case history
Punish, time out and keep a case history with per-moderator statistics.
What the moderation module includes
The moderation module brings the usual punishments (kick, ban, time out and warn), tools to clean the chat, and a per-server case history: every punishment gets a number (#1, #2, #3...) and is stored with the reason, the moderator and the date.
With slash commands the confirmation is private (only the moderator sees it), so the chat is not flooded. With prefix commands the confirmation is posted in the channel.
Info
The module must be enabled (dashboard General tab or/modulo). When it is off, these commands do not appear.
Punishment commands
/ban usuario [razon]
Permanent ban. Works even if the person already left the server.
/unban userid
Lifts a ban using the user ID.
/kick usuario [razon]
Removes the member. They can rejoin with an invite.
/mute usuario tiempo [razon]
Discord timeout: they cannot type, speak or react.
/unmute usuario
Removes the timeout early.
/warn usuario razon
Warning: sent by DM (if their DMs are open) and stored in their history.
Time format for /mute: a number followed by s (seconds), m (minutes), h (hours) or d (days). Examples: 30m, 2h, 7d. Discord does not allow timeouts longer than 28 days.
Moderator
/mute usuario:@Spammer tiempo:1h razon:Flooding #general
Nekovilo BOT
🔇 Spammer silenciado por 1h. (only visible to you)
Cleaning the chat
/purge cantidad
Deletes 1 to 99 recent messages in the current channel.
/purgeafter mensaje_id
Deletes every message (up to 100) sent after a given message. Handy to wipe an argument from the exact point it started.
Heads up
Discord does not allow bulk-deleting messages older than 14 days. Those are skipped automatically.Case history and statistics
/modlogs usuario
A member's punishment history, 10 per page, with «Previous/Next» buttons (active for 2 minutes).
/ms usuario
Moderator stats: mutes, bans, kicks and warns they issued in the last 7 days, 30 days and all time.
/delcase id
Deletes a single case (for example, a punishment issued by mistake).
/delmodlogs usuario
Wipes a member's ENTIRE history on this server.
Automatic punishments from the AutoMod are stored in the history too, with the reason tagged [AutoMod].
The same commands with the prefix
If you like typing fast, every command has a prefix version (nv by default; if you changed it, use yours). You can mention the user or use their ID:
nv ban @user ban reason
nv kick 123456789012345678 reason
nv mute @user 10m reason
nv unmute @user
nv warn @user reason
nv unban 123456789012345678
nv purge 50 (1 to 100)
nv purgeafter 123456789012345678
nv modlogs @user
nv ms @moderator
nv delcase 15
nv delmodlogs @user
How to copy a user or message ID
Some commands (/unban, /purgeafter) ask for an ID: a long number that identifies each user, message or channel.
-
Enable Developer Mode
User Settings → Advanced → Developer Mode. You only do this once.
-
Copy the ID
Right-click (or long-press on mobile) the user or message → Copy ID.
-
Banned users
To unban someone who is no longer in the server, find them under Server Settings → Bans and copy their ID there.
Required permissions
What the bot needs
- Ban Members
- Kick Members
- Timeout Members
- Manage Messages
- Read Message History
- Role above the members it punishes
What you need
- The permission listed for each command
- Administrator for /delmodlogs
Troubleshooting
«No puedo banear/silenciar a este usuario» (I can't ban/time out this user)
That person's role is above Nekovilo's, or they own the server. Move the bot's role up in Server Settings → Roles.
The user did not get the warning by DM
Their DMs are closed. The warning is still stored in their history.
Are punishments announced anywhere?
Yes, if you set a logs channel and enable «Ban Logs», «Unban Logs», «Kick Logs» and «Mute/Unmute Logs» in the System Logs tab. Warnings are logged together with kicks.