Skip to content

roledropdown

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

required
title str

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

None
emojis app_commands.Transform[str, MultiEmojiTransformer]

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

None