/roledropdownΒΆ
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. |
required |
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
|