?> Consider using the [Dashboard](https://carl.gg) ## Quick Setup 1. Choose a channel with `/log channel` 2. Select which events you want to be logged with `/log config [event]` where event is an event found in the [Events List](#events-list). 3. Split up logging into separate channel by using the commands found in [Logging Commands](#logging-commands). ?> The `/log aio` command automatically creates a category, fills it with five channels and splits up logging into them. 1. Choose a channel with `@Carl-bot log channel [channel]` 2. Select which events you want to be logged with `@Carl-bot log ` where event is an event found in the [Events List](#events-list). 3. Split up logging into separate channel by using the commands found in [Logging Commands](#logging-commands). ?> The `@Carl-bot log aio` command automatically creates a category, fills it with five channels and splits up logging into them. ## Logging Commands | Name | Example | Usage | | ---------------------------------------------------------------------------------------- | -------------------------------- | --------------------------------------------------------------------------------------- | | **log channel** [channel]
Manage Server | `/log channel #logs` | Sets the default channel where logged events go. Leave empty to clear the channel. | | **log config** [event]
Manage Server | `/log config timeout` | Toggles an event from being logged or not. Leave blank to see current config. | | **log message_channel** [channel]
Manage Server | `/log message_channel #msglog` | Sets the channel where message events are logged. | | **log member_channel** [channel]
Manage Server | `/log member_channel #memberlog` | Sets the channel where member events are logged. | | **log join_channel** [channel]
Manage Server | `/log join_channel #joinlog` | Sets the channel where the bot logs joining and leaving. | | **log server_channel** [channel]
Manage Server | `/log server_channel #svlog` | Sets the channel where updates to the server are logged. | | **log voice_channel** [channel]
Manage Server | `/log voice_channel #vclog` | Sets the channl where members joining/moving between/leaving voice channels are logged. | | **log ignore** \
Manage Server | `/log ignore @user #staff` | Ignores message events posted in the channels or by the members. | | **log unignore** \
Manage Server | `/log unignore @user` | Stops ignoring the channels and/or members. | | **log prefix** \
Manage Server | `/log prefix !` | Ignores message deletions, edits and messages within purges starting with the prefix. | | **log remove_prefix** \
Manage Server | `/log remove_prefix !` | Stops ignoring the prefix in message deletions, edits and messages within purges. | | **log export**
Manage Server | `/log export` | Exports the settings used in this server. | | **log import** \
Manage Server | `/log import 1337` | Imports the settings. | | **log aio**
Manage Server | `/log aio` | Creates a category, fills it with five channels and splits up logging into them. | | Name | Example | Usage | | --------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------- | | **log channel** [channel]
Manage Server | `@Carl-bot log channel #logs` | Sets the default channel where logged events go. Leave empty to clear the channel. | | **log** [event]
Manage Server | `@Carl-bot log timeout` | Toggles an event from being logged or not. Leave blank to see current config. | | **log messagechannel** [channel]
Manage Server | `@Carl-bot log messagechannel #msglog` | Sets the channel where message events are logged. | | **log memberchannel** [channel]
Manage Server | `@Carl-bot log memberchannel #memberlog` | Sets the channel where member events are logged. | | **log joinchannel** [channel]
Manage Server | `@Carl-bot log joinchannel #joinlog` | Sets the channel where the bot logs joining and leaving. | | **log serverchannel** [channel]
Manage Server | `@Carl-bot log serverchannel #svlog` | Sets the channel where updates to the server are logged. | | **log voicechannel** [channel]
Manage Server | `@Carl-bot log voicechannel #vclog` | Sets the channl where members joining/moving between/leaving voice channels are logged. | | **log ignore**
Manage Server | `@Carl-bot log ignore @user #staff` | Ignores message events posted in the channels or by the members. | | **log unignore**
Manage Server | `@Carl-bot log unignore @user` | Stops ignoring the channels and/or members. | | **log** \
Manage Server | `@Carl-bot log ip !` | Ignores message deletions, edits and messages within purges starting with the prefix. | | **log** \
Manage Server | `@Carl-bot log up !` | Stops ignoring the prefix in message deletions, edits and messages within purges. | | **log export**
Manage Server | `@Carl-bot log export` | Exports the settings used in this server. | | **log** [import\|custom] \
Manage Server | `@Carl-bot log import 1337` | Imports the settings. | | **log aio**
Manage Server | `@Carl-bot log aio` | Creates a category, fills it with five channels and splits up logging into them. | ### Events List Each event that Carl-bot logs has an associated value and channel. | Event | Logging | Value | Channel | | ------------- | ---------------------------------------- | ------- | -------------- | | delete | Deleted messages | 1 | messagechannel | | edit | Message edits | 2 | messagechannel | | purge | Bulk message deletion | 4 | messagechannel | | discord | Discord invites posted | 2097152 | messagechannel | | role | Member role updates | 8 | memberchannel | | avatar | Avatar updates | 32 | memberchannel | | bans | Bans and unbans | 192 | memberchannel | | ban | Just bans | 64 | memberchannel | | unban | Just unbans | 128 | memberchannel | | timeout | Timeouts given | | memberchannel | | removetimeout | Timeouts removed | | memberchannel | | join | Joined the server | 256 | joinchannel | | leave | Left the server | 512 | joinchannel | | name | Name and nickname changes | | memberchannel | | channels | Channel creations, updates and deletions | 7168 | serverchannel | | channelcreate | Channel creation | 1024 | serverchannel | | channelupdate | Channel updates | 2048 | serverchannel | | channeldelete | Channel deletions | 4096 | serverchannel | | allroles | Role creations, updates and deletions | 458752 | serverchannel | | rolecreate | Role creation | 65536 | serverchannel | | roleupdate | Role updates | 131072 | serverchannel | | roledelete | Role deletions | 262144 | serverchannel | | emoji | Emoji creations, updates and deletions | 1048576 | serverchannel | | server | Server updates | 524288 | serverchannel | | voice | All voice channel events | 57344 | voicechannel | | voicejoin | Members joining voice channels | 8192 | voicechannel | | voicemove | Members changing voice channels | 16384 | voicechannel | | voiceleave | Members leaving voice channels | 32768 | voicechannel | | everything | All events | 4194303 | depends | | nothing | No events | 0 | | default | Some messages and member events | 1019 | depends | ## Modlogs | Name | Example | Usage | | --------------------------------------------------------------------------------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | **modlog create** [name]
Manage Server | `/modlog create auditlog` | Creates a channel where moderation actions will be logged. | | **modlog set** \
Manage Server | `/modlog set #modlog` | Sets an already existing channel to send actions to (make sure the bot has the permissions required to post in the channel). | | **modlog clear**
Manage Server | `/modlog clear` | Makes the bot stop logging actions to the channel. | | **modlog from** \
Manage Server | `/modlog from @user` | Retrieves all infractions for a member with the responsible moderator. | | **modlog reason** \ \
Manage Server | `/modlog reason 17 Spamming` | Sets a reason for a modlog entry, useful for cases where you either banned manually or forgot to specify a reason. | | **modlog highscores**
Manage Server | `/modlog highscores` | Shows the moderators ranked by how many actions they've taken. | | **modlog export** \ [member]
Manage Server | `/modlog export @user` | Generates a `.txt` file of the modlogs relating to the user specified. | | Name | Example | Usage | | -------------------------------------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | **modlog create** [name=modlog]
Manage Server | `@Carl-bot modlog create auditlog` | Creates a channel where moderation actions will be logged. | | **modlog set** \
Manage Server | `@Carl-bot modlog set #modlog` | Sets an already existing channel to send actions to (make sure the bot has the permissions required to post in the channel). | | **modlog clear**
Manage Server | `@Carl-bot modlog clear` | Makes the bot stop logging actions to the channel. | | **modlog from** \
Manage Server | `@Carl-bot modlog from @user` | Retrieves all infractions for a member with the responsible moderator. | | **reason** \ \
Manage Server | `@Carl-bot reason 17 Spamming` | Sets a reason for a modlog entry, useful for cases where you either banned manually or forgot to specify a reason. | | **modlog highscores**
Manage Server | `@Carl-bot modlog highscores` | Shows the moderators ranked by how many actions they've taken. | | **modlog export** \
Manage Server | `@Carl-bot modlog export @user` | Generates a `.txt` file of the modlogs relating to the user specified. |