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

Enable choice for second server

This commit is contained in:
toast-ts 2023-09-08 20:01:54 +10:00
parent b7e199bbcb
commit 0eae563e8d

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