-
{deleteButton}
: Creates a button to delete the response on click
- Argumente:
- Beispielergebnis:
{"button":true,"rowId":"0","style":"secondary","label":"Label","customIdOrUrl":"action_delete","emoji":"🗑️"}
-
{button}
: Creates a button to attach to the message
- Argumente:
- style = "primary"
- label = "Button"
- customIdOrUrl = "custom_button"
- emoji = ""
- disabled = "false"
- rowId = "0"
- Beispielergebnis:
{"button":true,"rowId":"0","style":"primary","label":"Button","customIdOrUrl":"custom_button","emoji":"","disabled":"false"}
- Beispielergebnis:
{"button":true,"rowId":"0","style":"secondary","label":"Ein Button!","customIdOrUrl":"custom_button","emoji":"","disabled":"false"}
- Mit Eingabe:
{button;secondary;Ein Button!}
- Beispielergebnis:
{"button":true,"rowId":"2","style":"DANGER","label":"nicht anklicken :D","customIdOrUrl":"nicht_klicken","emoji":"1","disabled":"true"}
- Mit Eingabe:
{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 ,
- Argumente:
- customId = "custom_select"
- options = ""
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- Beispielergebnis:
{"select":"string","customId":"custom_select","options":"","min":"1","max":"25","placeholder":"","disabled":"false"}
- Beispielergebnis:
{"select":"string","customId":"custom_select_v2","options":"1,22,3","min":"1","max":"15","placeholder":"Click me!","disabled":"false"}
- Mit Eingabe:
{select;custom_select_v2;1,22,3;1;15;Click me!}
- Beispielergebnis:
{"select":"string","customId":"custom_select_v3","options":"1,22,3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true"}
- Mit Eingabe:
{select;custom_select_v3;1,22,3;5;5;Don't click me!;true}
-
{selectOption}
: Creates a select menu option
- Argumente:
- label = "Option"
- value = "option"
- description = ""
- emoji = ""
- defaultOption = "false"
-
{userSelect}
: Creates a user select menu to attach to the message
- Argumente:
- customId = "custom_userselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Beispielergebnis:
{"select":"user","customId":"custom_userselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Beispielergebnis:
{"select":"user","customId":"custom_userselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Mit Eingabe:
{userSelect;custom_userselect_v2;1;15;Click me!}
- Beispielergebnis:
{"select":"user","customId":"custom_userselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Mit Eingabe:
{userSelect;custom_userselect_v3;5;5;Don't click me!;true;1,2}
-
{roleSelect}
: Creates a role select menu to attach to the message
- Argumente:
- customId = "custom_roleselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Beispielergebnis:
{"select":"role","customId":"custom_roleselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Beispielergebnis:
{"select":"role","customId":"custom_roleselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Mit Eingabe:
{roleSelect;custom_roleselect_v2;1;15;Click me!}
- Beispielergebnis:
{"select":"role","customId":"custom_roleselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Mit Eingabe:
{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
- Argumente:
- customId = "custom_mentionableselect"
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Beispielergebnis:
{"select":"mentionable","customId":"custom_mentionableselect","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Beispielergebnis:
{"select":"mentionable","customId":"custom_mentionableselect_v2","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Mit Eingabe:
{mentionableSelect;custom_mentionableselect_v2;1;15;Click me!}
- Beispielergebnis:
{"select":"mentionable","customId":"custom_mentionableselect_v3","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Mit Eingabe:
{mentionableSelect;custom_mentionableselect_v3;5;5;Don't click me!;true;1,2}
-
{channelSelect}
: Creates a channel select menu to attach to the message
- Argumente:
- customId = "custom_channelselect"
- channelTypes = ""
- min = "1"
- max = "25"
- placeholder = ""
- disabled = "false"
- defaultValues = ""
- Beispielergebnis:
{"select":"channel","customId":"custom_channelselect","channelTypes":"","min":"1","max":"25","placeholder":"","disabled":"false","defaultValues":""}
- Beispielergebnis:
{"select":"channel","customId":"custom_channelselect_v2","channelTypes":"text,announcement","min":"1","max":"15","placeholder":"Click me!","disabled":"false","defaultValues":""}
- Mit Eingabe:
{channelSelect;custom_channelselect_v2;text,announcement;1;15;Click me!}
- Beispielergebnis:
{"select":"channel","customId":"custom_channelselect_v3","channelTypes":"voice,stage,privateThread","min":"5","max":"5","placeholder":"Don't click me!","disabled":"true","defaultValues":"1,2"}
- Mit Eingabe:
{channelSelect;custom_channelselect_v3;voice,stage,privateThread;5;5;Don't click me!;true;1,2}