Skip to content

/warnings

Tip

This command requires the administrator permission by default. To learn how to change this, please check the faq command.

A warning system

/warnings add

Adds a warning to a user.

Parameters:

Name Type Description Default
user User The user to add a warning to. None
warning Transform[str, TextTransformer] The description of the warning. If no warning is provided, a form is opened. None

/warnings remove

The command to remove a warning from someone

Parameters:

Name Type Description Default
user User The user to remove a warning from None
warning_number int Which warning to remove. None

/warnings list

Lists a user's warnings.

Parameters:

Name Type Description Default
user User The user who's warnings you want to see. None
ephemeral bool Whether to only display the warnings to yourself or not. Defaults to False, meaning they're visible to everyone. False, meaning they're visible to everyone

/warnings server

Lists all of the warnings in your server.

Parameters:

Name Type Description Default
ephemeral bool Whether to only display the warnings to yourself or not. Defaults to False, meaning they're visible to everyone. False, meaning they're visible to everyone