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