Skip to content

/roledropdown

Tip

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

Create an embed with a dropdown attached, to assign or unassign roles

/roledropdown create

Tip

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

Creates an embed with a button users can click to see a dropdown, in which they can select roles to self-assign or self-unassign.

Parameters:

Name Type Description Default
roles Transform[str, RoleTransformer]

Roles or role IDs separated by a space

required
description str

A description you would like the embed to have. Defaults to every role along with emojis if you provided them.

None
title str

A title for the embed this will create. Defaults to None.

None
emojis Transform[str, MultiEmojiTransformer]

A series of emojis to assign to the dropdown options. Defaults to None.

None

/roledropdown add

Tip

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

Adds an additional option to an existing roledropdown

Parameters:

Name Type Description Default
message Transform[Message, MessageTransformer]

The message to add the dropdown too.

required
roles Transform[List[Role], RoleTransformer]

Roles or role IDs separated by a space.

required
emojis Optional[Transform[List[str | Emoji | PartialEmoji], MultiPartialEmojiTransformer]]

A series of emojis to assign to the dropdown options. Defaults to None.

None

/roledropdown remove

Tip

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

Removes an option from an existing roledropdown

Parameters:

Name Type Description Default
message Transform[Message, MessageTransformer]

The message with the dropdown to remove the option from.

required
roles Transform[List[Role], RoleTransformer]

Roles or role IDs separated by a space.

required