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')
.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])))
}