Skip to content

/buttoncolor

Tip

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

Edits the color of button(s) posted by the bot linked to a given message.

Note

This command requires you to be a Tier 3 Patreon user and requires the administrator permission!

Parameters:

Name Type Description Default
button_message app_commands.Transform[str, MessageTransformer]

A link or ID of a message with buttons.

required
button_color app_commands.Choice[int]

The new color you'd like the button(s) to get.

required
button_numbers app_commands.Transform[str, ButtonNumberTransformer]

The number of the button(s) you would like to edit, separated by spaces. Example: 1 3, would edit the first and third buttons. Defaults to editing all buttons.

None