Astro · Step by step
Set up the moderation log and event log
Every ban, kick, timeout and warning shows up as a numbered case card in one channel, and joins, edits and deletions in another.
Astro keeps two kinds of log. The moderation log gets a card for every case (ban, kick, timeout, warn, note) and every AutoMod hit. The event log records what happens in the server: joins, leaves, edited and deleted messages, role and channel changes. Set both up before you start moderating, so you have a record from day one.
Before you start
- Astro is in your server and you can open the dashboard: Add Astro and open the dashboard.
- Make two private text channels that only staff can see, for example
#mod-logand#server-log. Astro needs to be able to see and send messages in both.
Steps
1. Pick the moderation log
On the dashboard, open your server and go to Overview. In the Where things go card, click Moderation log and pick #mod-log.
2. Pick the event log
In the same card, click Event log and pick #server-log. Click Save in the bar at the bottom.
You see: "Saved". Astro applies it within a few seconds.
3. Check it works
In Discord, type /note user:@someone text:testing the log (pick any member).
You see: a private reply, "Note added to @someone (Case #1)", and a case card in #mod-log with the member, the moderator, the reason and a History button.
Notes do not count as warnings, so this test does not affect anyone. To mark it as void, type /editcase number:1 void:True.
4. Choose which events are logged (optional)
Go to Logging in the sidebar. In the Events card every event is on once a channel is set. Switch off the ones you do not want, for example Voice joined and Voice left in a busy server. Click Save.
Change it later
- Split the event log: on Logging, the Channels card has Message events, Member events, Server events and Voice events. Pick a channel for any of them; anything left on "Use default" goes to the event log.
- Ignore a channel or role: on Logging, use Ignored channels (a category covers every channel in it) or Ignored roles in the Not logged card. Useful for staff channels and bot roles.
- Shorter entries: on Logging, switch on Compact entries for one line per event.
- AutoMod hits in their own channel: on AutoMod, set AutoMod log. Left empty, they go to the moderation log.
- Cases for actions taken outside Astro: on Warnings, Record actions done outside Astro is on by default, so bans and kicks done from Discord's right-click menu or by another bot also become cases.
If something goes wrong
- Nothing appears in #mod-log. Check Astro can see the channel and has Send Messages there (channel settings, Permissions). Then check Overview still shows the channel under Moderation log and that you clicked Save.
- Deleted messages are not logged. The event log needs a channel set on Overview or Logging. Also check Message deleted is switched on in the Events card, and that the channel or the person's role is not in Not logged.
- Bans made from Discord's menu do not show as cases. Astro needs the View Audit Log permission on its role. See step 4 of Add Astro and open the dashboard.
- The log is too noisy. Turn off the events you do not need, ignore bot and staff channels, or switch on Compact entries.
NextLet your staff use mod commands
Stuck on a step? Open a ticket in the Cordyx Discord and say which step you are on.