From 0eae563e8d0449c3aea49302a1216c7e4cf3329c Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@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]))) }