Documentation / Security / Moderation
/moderation Required permission: Timeout Members
- 1. Open the Moderation Panel
Pick the member from the list in the panel; the warn, timeout, kick and ban buttons appear.
/moderation - 2. Determine Duration Format
Use durations like 10m, 1h, 1d as you wish.
duration: 10m / 1h / 1d / 7d - 3. Notify with Components V2
The transaction result is recorded in the criminal record and printed as a stylish card in the moderation log.
Warning #1 Recorded to Criminal Record
The Aegis moderation engine (commands/moderasyon.js) stores all administrative actions in a central database. It has hierarchical security controls that prevent administrators from punishing each other or the server owner.
Moderation Panel (/moderation)
The command has no options: typing /moderation opens a single panel and everything is done from there.
- Pick a member:
- When you pick a member from the list, their warning count and latest cases appear.
- Warn / Timeout / Kick / Ban:
- When you press a button, a window asks for the reason (and for timeouts the duration: 30s, 10dk, 2sa, 1g). Each button needs its own permission and stays disabled if you do not have it.
- Purge messages:
- Without picking a member, deletes the last 1-100 messages in the channel (Discord does not allow deleting messages older than 14 days).
/moderation → pick the member → Ban → reason: Raid attempt on the serverThe user is banned from the server, and the action is reported to the `mod-log` channel in Components V2 format.
Kicked or banned members get the reason in DM
Right before a kick or ban, the member is sent a card with the server name and the reason. If the action fails, that message is deleted again. If the member's DMs are closed, the action is still applied. It can be turned off with the Punishment DM button in the /modlog panel.
Editing and deleting cases
Every action gets a case number. Open a member's history in the /modlog panel, pick a case from the list and use the buttons under the card:
- Edit reason:
- Anyone with moderator permissions can use it. The case gets an "edited" mark; if it is a warning case, the reason on the warning record is updated too.
- Delete case:
- Needs Manage Server and a confirmation. Deleting a warning case also removes the warning record. It cannot be undone.