mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Don't default to AI for games that support it
This commit is contained in:
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user