Warning

This document is for Red's development version, which can be significantly different from previous releases. If you're a regular user, you should read the Red documentation for the current stable release.

ModLog

This is the cog guide for the modlog cog. You will find detailed docs about usage and commands.

[p] is considered as your prefix.

Note

To use this cog, load it by typing this:

[p]load modlog

Usage

Manage log channels for moderation actions.

Commands

case

Syntax

[p]case <number>

Description

Show the specified case.

Arguments

  • <case>: The case number to get information for.

casesfor

Syntax

[p]casesfor <member>

Description

Display cases for the specified member.

Arguments

  • <member>: The member to get cases for. You can either mention the member, provide their ID, their exact name with the tag or not, or their nickname.

listcases

Syntax

[p]listcases <member>

Description

List cases for the specified member.

Arguments

  • <member>: The member to get cases for. You can either mention the member, provide their ID, their exact name with the tag or not, or their nickname.

modlogset

Note

This command is locked to the server owner.

Syntax

[p]modlogset

Description

Manage modlog settings.

modlogset cases

Syntax

[p]modlogset cases [action]

Description

Enable or disable case creation for a mod action.

Arguments

  • [action]: The action to enable or disable case creation for.

modlogset modlog

Syntax

[p]modlogset modlog [channel]

Tip

Alias: modlogset channel

Description

Set a channel as the modlog.

Arguments

  • [channel]: The channel to set as the modlog. If omitted, the modlog will be disabled.

modlogset resetcases

Syntax

[p]modlogset resetcases

Description

Reset all modlog cases in this server.

reason

Syntax

[p]reason [case] <reason>

Description

Specify a reason for a modlog case.

Please note that you can only edit cases you are the owner of unless you are a mod, admin or server owner.

Arguments

  • [case]: The case number to update the reason for.

  • <reason>: The new reason for the specified case.

Note

If no case number is specified, the latest case will be used.