-
Hello! I'm using your template and I want to use the slash commands, for my ticket system. And I want to put name: "ticketsoptions",
description: "ticket options",
options: [
{
name: "action",
type: "STRING",
description: "Add or remove a member from this ticket.",
required: true,
choices: [
{ name: "Add", value: "add" },
{ name: "Remove", value: "remove" }
]
},
{
name: "member",
description: "Select a member",
type: "USER",
required: true
}
], But I don't no why if I put the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Add description to the choices and try and also look on console for errors. |
Beta Was this translation helpful? Give feedback.
-
I haven't errors and I need to do like this ? name: "action",
type: "STRING",
description: "Add or remove a member from this ticket.",
required: true
choices: [
{ name: "Add", value: "add", description: "Add" },
{ name: "Remove", value: "remove", description: "Remove" }
] |
Beta Was this translation helpful? Give feedback.
-
Ok I will test |
Beta Was this translation helpful? Give feedback.
-
It's working but the choices come and go away I don't no why name: "action",
type: "STRING",
description: "Add or remove a member from this ticket.",
required: true,
choices: [
{ name: "Add", value: "add", description: "Add" },
{ name: "Remove", value: "remove", description: "Remove" }
] |
Beta Was this translation helpful? Give feedback.
-
It's good I repair the problem ! Thank' |
Beta Was this translation helpful? Give feedback.
It's good I repair the problem ! Thank'