Skip to content

/rolebuttons

Tip

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

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

Parameters:

Name Type Description Default
roles Transform[str, RoleTransformer]

Roles or role IDs separated by a space

required
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.

None
emojis Transform[str, MultiEmojiTransformer]

A series of emojis to assign to the buttons, separated with spaces. Defaults to None.

None
text_or_emojis Choice

Whether they want to have both emojis and roles displayed on the buttons

None