Version 0.1.1 - Fix of /report (set required true)
This commit is contained in:
parent
fafe8c8e03
commit
0c70f08f51
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
.addStringOption(option => option.setName("level").setDescription("Niveau du report").setRequired(true).addChoices(
|
.addStringOption(option => option.setName("level").setDescription("Niveau du report").setRequired(true).addChoices(
|
||||||
{name: "Urgent", value: "urgent"},
|
{name: "Urgent", value: "urgent"},
|
||||||
{name: "Mineur", value: "minor"}
|
{name: "Mineur", value: "minor"}
|
||||||
)).addStringOption(option => option.setName("desc").setDescription("Description du bug")),
|
)).addStringOption(option => option.setName("desc").setDescription("Description du bug")).setRequired(true),
|
||||||
|
|
||||||
async execute(client, interaction) {
|
async execute(client, interaction) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user