1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 12:21:00 -05:00

Enable choice for second server

This commit is contained in:
AnxietyisReal 2023-09-08 20:01:54 +10:00
parent 25fd7f0b49
commit 93d0fa5cab

View File

@ -227,7 +227,7 @@ export default {
.setName('server') .setName('server')
.setDescription('The server to update') .setDescription('The server to update')
.setRequired(true) .setRequired(true)
.setChoices(serverChoices[0]))) .setChoices(serverChoices[0], serverChoices[1])))
.addSubcommand(x=>x .addSubcommand(x=>x
.setName('players') .setName('players')
.setDescription('Display players on server') .setDescription('Display players on server')
@ -235,7 +235,7 @@ export default {
.setName('server') .setName('server')
.setDescription('The server to display players for') .setDescription('The server to display players for')
.setRequired(true) .setRequired(true)
.setChoices(serverChoices[0]))) .setChoices(serverChoices[0], serverChoices[1])))
.addSubcommand(x=>x .addSubcommand(x=>x
.setName('url') .setName('url')
.setDescription('View or update the server URL') .setDescription('View or update the server URL')
@ -255,5 +255,5 @@ export default {
.setName('server') .setName('server')
.setDescription('The server to display information for') .setDescription('The server to display information for')
.setRequired(true) .setRequired(true)
.setChoices(serverChoices[0]))) .setChoices(serverChoices[0], serverChoices[1])))
} }