From 93d0fa5cabb746c60a6c31e46c43f2dba00890da Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Fri, 8 Sep 2023 20:01:54 +1000 Subject: [PATCH] Enable choice for second server --- src/commands/mp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/mp.ts b/src/commands/mp.ts index 49bfb28..43a6f2b 100644 --- a/src/commands/mp.ts +++ b/src/commands/mp.ts @@ -227,7 +227,7 @@ export default { .setName('server') .setDescription('The server to update') .setRequired(true) - .setChoices(serverChoices[0]))) + .setChoices(serverChoices[0], serverChoices[1]))) .addSubcommand(x=>x .setName('players') .setDescription('Display players on server') @@ -235,7 +235,7 @@ export default { .setName('server') .setDescription('The server to display players for') .setRequired(true) - .setChoices(serverChoices[0]))) + .setChoices(serverChoices[0], serverChoices[1]))) .addSubcommand(x=>x .setName('url') .setDescription('View or update the server URL') @@ -255,5 +255,5 @@ export default { .setName('server') .setDescription('The server to display information for') .setRequired(true) - .setChoices(serverChoices[0]))) + .setChoices(serverChoices[0], serverChoices[1]))) }