Skip to content

/warnings

Tip

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

/warnings add

Adds a warning to a user.

Parameters:

Name Type Description Default
user User

The user to add a warning to.

required
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

required
warning_number int

Which warning to remove.

required

/warnings list

Lists a user's warnings.

Parameters:

Name Type Description Default
user User

The user who's warnings you want to see.

required
ephemeral bool

Whether to only display the warnings to yourself or not. Defaults to False, meaning they're visible to everyone.

False

/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