From 0c70f08f515bafe705431c90db1d385d1bdbd31f Mon Sep 17 00:00:00 2001 From: Raphix Date: Sun, 20 Aug 2023 17:36:51 +0200 Subject: [PATCH] Version 0.1.1 - Fix of /report (set required true) --- src/commands/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/report.js b/src/commands/report.js index 731cebc..17fa178 100644 --- a/src/commands/report.js +++ b/src/commands/report.js @@ -13,7 +13,7 @@ module.exports = { .addStringOption(option => option.setName("level").setDescription("Niveau du report").setRequired(true).addChoices( {name: "Urgent", value: "urgent"}, {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) {