Don't default to AI for games that support it

This commit is contained in:
Dragon Fire
2021-01-24 09:40:53 -05:00
parent 481b8d2443
commit 13371dca23
8 changed files with 16 additions and 23 deletions
+2 -3
View File
@@ -13,9 +13,8 @@ module.exports = class BattleCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to battle?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to battle? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -3
View File
@@ -34,9 +34,8 @@ module.exports = class ChessCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -3
View File
@@ -20,9 +20,8 @@ module.exports = class JengaCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -3
View File
@@ -14,9 +14,8 @@ module.exports = class NimCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
},
{
key: 'rows',
+2 -3
View File
@@ -13,9 +13,8 @@ module.exports = class PickANumberCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to play against?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to play against? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -3
View File
@@ -13,9 +13,8 @@ module.exports = class RussianRouletteCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to play against?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to play against? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -3
View File
@@ -15,9 +15,8 @@ module.exports = class TicTacToeCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user',
default: () => this.client.user
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
}
]
});
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "126.12.1",
"version": "126.12.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -51,7 +51,7 @@
"expr-eval": "^2.0.2",
"gifencoder": "^2.0.1",
"gm": "^1.23.1",
"html-entities": "^2.0.2",
"html-entities": "^2.0.4",
"ioredis": "^4.19.4",
"js-beautify": "^1.13.4",
"js-chess-engine": "^0.6.0",