Skip to content

/rolebuttons

Tip

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

Buttons users can click to assign/unassign roles to/from themselves.

/rolebuttons create

Create an embed with buttons to let people self-assign or self-remove roles.

Parameters:

Name Type Description Default
roles app_commands.Transform[str, RoleTransformer] Roles or role IDs separated by a space None
title str A title for the embed this will create. Defaults to None. None
description str A description you would like the embed to have. Defaults to every role along with emojis if you provided them. every role along with emojis if you provided them
emojis app_commands.Transform[str, MultiEmojiTransformer] A series of emojis to assign to the buttons, separated with spaces. Defaults to None. None
text_or_emojis app_commands.Choice Whether you want to have both emojis and roles displayed on the buttons. Defaults to both. both

/rolebuttons add

Add buttons to an existing rolebutton message.

Parameters:

Name Type Description Default
message app_commands.Transform[Message, MessageTransformer] The ID or link to an existing message. None
roles app_commands.Transform[str, RoleTransformer] Roles or role IDs separated by a space None
emojis app_commands.Transform[str, MultiEmojiTransformer] A series of emojis to assign to the buttons, separated with spaces. Defaults to None. None

/rolebuttons remove

Remove buttons from an existing rolebutton message.

Parameters:

Name Type Description Default
message app_commands.Transform[Message, MessageTransformer] The ID or link to an existing message. None
roles app_commands.Transform[List[Role], RoleTransformer] The roles to remove. None

/rolebuttons clone

Tip

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

Clones an existing rolebuttons message into a new one.

Parameters:

Name Type Description Default
message Message The message to clone. None