-
{deleteButton}
: Creates a button to delete the response on click
- Arguments:
- Example result:
{"button":true,"rowId":"0","style":"secondary","label":"Label","customIdOrUrl":"action_delete","emoji":"🗑️"}
-
{button}
: Creates a button to attach to the message
- Arguments:
- style = "primary"
- label = "Button"
- customIdOrUrl = "custom_button"
- emoji = ""
- disabled = "false"
- rowId = "0"
- Example result:
{"button":true,"rowId":"0","style":"primary","label":"Button","customIdOrUrl":"custom_button","emoji":"","disabled":"false"}
- Example result:
{"button":true,"rowId":"0","style":"secondary","label":"Ein Button!","customIdOrUrl":"custom_button","emoji":"","disabled":"false"}
- Using input:
{button;secondary;Ein Button!}
- Example result:
{"button":true,"rowId":"2","style":"DANGER","label":"nicht anklicken :D","customIdOrUrl":"nicht_klicken","emoji":"1","disabled":"true"}
- Using input:
{button;DANGER;nicht anklicken :D;nicht_klicken;1;true;2}
-
{select}
: Creates a select menu to attach to the message. Options created using {selectOption}
are seperated by ,
- Arguments:
- customId = "custom_select"
- options = ""
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- Example result:
{"select":"string","customId":"custom_select","options":"","min":"1","max":"25","placeholder":"","disabled":"false"}
- Example result:
{"select":"string","customId":"custom_select_v2","options":"1,22,3","min":"1","max":"15","placeholder":"Click me!","disabled":"false"}
- Using input:
{select;custom_select_v2;1,22,3;1;15;Click me!}
- Example result:
{"select":"string","customId":"custom_select_v3","options":"1,22,3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true"}
- Using input:
{select;custom_select_v3;1,22,3;5;5;Don't click me!;true}
-
{selectOption}
: Creates a select menu option
- Arguments:
- label = "Option"
- value = "option"
- description = ""
- emoji = ""
- defaultOption = "false"
-
{userSelect}
: Creates a user select menu to attach to the message
- Arguments:
- customId = "custom_userselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Example result:
{"select":"user","customId":"custom_userselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Example result:
{"select":"user","customId":"custom_userselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Using input:
{userSelect;custom_userselect_v2;1;15;Click me!}
- Example result:
{"select":"user","customId":"custom_userselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Using input:
{userSelect;custom_userselect_v3;5;5;Don't click me!;true;1,2}
-
{roleSelect}
: Creates a role select menu to attach to the message
- Arguments:
- customId = "custom_roleselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Example result:
{"select":"role","customId":"custom_roleselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Example result:
{"select":"role","customId":"custom_roleselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Using input:
{roleSelect;custom_roleselect_v2;1;15;Click me!}
- Example result:
{"select":"role","customId":"custom_roleselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Using input:
{roleSelect;custom_roleselect_v3;5;5;Don't click me!;true;1,2}
-
{mentionableSelect}
: Creates a mentionable (roles & users) select menu to attach to the message
- Arguments:
- customId = "custom_mentionableselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Example result:
{"select":"mentionable","customId":"custom_mentionableselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Example result:
{"select":"mentionable","customId":"custom_mentionableselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Using input:
{mentionableSelect;custom_mentionableselect_v2;1;15;Click me!}
- Example result:
{"select":"mentionable","customId":"custom_mentionableselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Using input:
{mentionableSelect;custom_mentionableselect_v3;5;5;Don't click me!;true;1,2}
-
{channelSelect}
: Creates a channel select menu to attach to the message
- Arguments:
- customId = "custom_channelselect"
- channelTypes = ""
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Example result:
{"select":"channel","customId":"custom_channelselect","channelTypes":"","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Example result:
{"select":"channel","customId":"custom_channelselect_v2","channelTypes":"text,announcement","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Using input:
{channelSelect;custom_channelselect_v2;text,announcement;1;15;Click me!}
- Example result:
{"select":"channel","customId":"custom_channelselect_v3","channelTypes":"voice,stage,privateThread","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Using input:
{channelSelect;custom_channelselect_v3;voice,stage,privateThread;5;5;Don't click me!;true;1,2}