Channel Logging
Configuring the Channel Logging Module
The Channel Logging module logs various channel activities such as messages, notices, joins, parts, and more. The logs are stored in specified files.
Configuration Options
Enable/Disable Channel Logging
Enable or disable logging for a specific channel, server, or bot.
-
Usage:
,config channel:<channel_name> log true
,config server:<server_name> channel-log true
,config bot channel-log true
-
Examples:
,config channel:#examplechannel log true
,config server:myserver channel-log true
,config bot channel-log true
Logged Events
- Messages in Channel:
- All messages sent in the channel.
- Notices in Channel:
- All notices sent in the channel.
- Joins:
- When a user joins the channel.
- Parts:
- When a user leaves the channel.
- Nick Changes:
- When a user changes their nickname.
- Invites:
- When a user is invited to the channel.
- Mode Changes:
- Changes to the channel’s mode.
- Topic Changes:
- When the channel topic is set or changed.
- Kicks:
- When a user is kicked from the channel.
- Quits:
- When a user quits the server.
- Renames:
- When the server or channel is renamed.
- Ghost Host Changes:
- When a user’s hostmask changes.
- Account Changes:
- When a user’s account changes.
Examples
-
To enable logging for a specific channel:
,config channel:#examplechannel log true
-
To disable logging for a specific channel:
,config channel:#examplechannel log false
-
To enable logging for an entire server:
,config server:myserver channel-log true
-
To enable logging globally for the bot:
,config bot channel-log true