Logs
A staff team needs to know what happened: who deleted that message, who banned that member, who changed the ticket settings last night. iHorizon writes all of that down, but not in one place. There are four places, each with its own job:
| Where | What goes there | How you set it up |
|---|---|---|
| Event log channels | What members and moderators do directly in Discord: deleted and edited messages, bans, kicks, role changes, voice activity, boosts, channel changes | /setlogs, one channel per type, or all at once |
The ihorizon-logs channel |
What is done through iHorizon: its moderation commands, its settings, giveaways, economy and level resets, backups… | /guildconfig setup, or any channel whose name contains ihorizon-logs and that @everyone can't see |
| Module log channels | One module's own activity: tickets, honeypot, anti-spam, confessions, economy, warnings | Each module's own setting (/ticket log-channel, /honeypot config…) or a /setlogs type |
| The activity journal | Every change made from the dashboard, with before and after | Nothing to set up: always on, kept 90 days |
And one page to see it all together: a complete example, the logs of a server with a staff of thirty.
Which log goes where
The short version of the whole section. "Event logs" are the channels chosen with /setlogs, under the type shown.
| What happened | Where it is logged |
|---|---|
| A message is deleted | Event logs › Messages |
| A message is edited | Event logs › Messages |
| A member is banned, kicked or unbanned in Discord (right-click › Ban, another bot…) | Event logs › Moderation |
A member is banned, kicked or unbanned with iHorizon (/mod ban, the dashboard…) |
ihorizon-logs |
/mod tempban, /mod tempmute, /mod unmute, /mod clear, /mod lock, /mod lock-all |
ihorizon-logs |
| A warning is given, removed or cleared | ihorizon-logs, else a mods channel, else Event logs › Moderation (details) |
| Someone gives or removes a role in Discord | Event logs › Roles |
| A channel is renamed or its permissions change in Discord | Event logs › Channel |
| A member joins, leaves, mutes or deafens themselves in voice | Event logs › Voice |
| A member boosts the server or removes their boost | Event logs › Boosts |
| The anti-spam punishes someone | Event logs › AntiSpam |
| A confession or a reply is posted | Event logs › Confession |
| Money moves (payments, robberies, staff edits) | Event logs › Economy |
| A ticket is opened, closed, reopened or deleted | The ticket log channel |
| The honeypot catches someone | The honeypot logs channel |
| A setting is changed with an iHorizon command | ihorizon-logs |
| A setting is changed or an action is run from the dashboard | The activity journal (and ihorizon-logs for the actions that post there) |
The one rule to remember
Event logs record Discord, ihorizon-logs records iHorizon. The moderation, role and channel logs read Discord's audit log and skip what iHorizon did itself: a ban made with /mod ban is not in the Moderation channel, it's in ihorizon-logs. To see every ban, set up both.
What every log has in common
- Nothing pings. Logs mention members, roles and channels so you can click them, but nobody is notified: not the member who was banned, not the role that was changed.
- Logs are posted by iHorizon in a channel it can write in. If iHorizon can't see the channel or post there, the log is lost silently: the event still happens.
- The time is in the log. The cards,
ihorizon-logsones included, end with the bot's name and the date, shown in each reader's own time zone. - Logs follow the server's language (
/setlang).
Quick start
- Create the event log channels:
/setlogs type:Setup all channels. iHorizon creates a private LOGS category with one channel per type. - Create the
ihorizon-logschannel:/guildconfig setup. It's private too. - Check what you get: delete a test message (Messages channel), then run
/mod lockin a test channel (ihorizon-logs). - Give your staff access to the LOGS category and to
ihorizon-logswith Discord's channel permissions, team by team: see the complete example.
From the dashboard
The dashboard module Server logs (Administrator or server owner) picks the event log channels; the Tickets and Honeypot modules have their own log channel. The Activity log page shows the activity journal to every manager of the server.