2 Cog ModLog
Mrcoolgamer11 edited this page 2026-11-22 16:07:10 +00:00

This page is generated from docs/cog_guides/modlog.rst - please edit the source file instead of this page.

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

Browse and manage modlog cases. To manage modlog settings, use [p]modlogset.

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.

deletecase

NOTE

This command is locked to the admin role. This is also usable by the members with the Manage Server permission.

Syntax

[p]deletecase <number>

Description

Delete a modlog case.

This also deletes the case's message in the modlog channel. The numbers of other cases are not changed.

Example:
  • [p]deletecase 42
Arguments:
  • <number> - The number of the case to delete.

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.

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.