From 03950ac600c2023b98a52f39967a1677a7038af3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 10 Jan 2021 10:57:59 -0500 Subject: [PATCH] tic-tac-toe aliases --- commands/games-mp/tic-tac-toe.js | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/commands/games-mp/tic-tac-toe.js b/commands/games-mp/tic-tac-toe.js index 7b492929..e8dbb78a 100644 --- a/commands/games-mp/tic-tac-toe.js +++ b/commands/games-mp/tic-tac-toe.js @@ -8,14 +8,16 @@ module.exports = class TicTacToeCommand extends Command { constructor(client) { super(client, { name: 'tic-tac-toe', + aliases: ['ttt', 'tic-tac'], group: 'games-mp', memberName: 'tic-tac-toe', description: 'Play a game of tic-tac-toe with another user or the AI.', args: [ { key: 'opponent', - prompt: 'What user would you like to challenge? To play against AI, choose me.', - type: 'user' + prompt: 'What user would you like to challenge?', + type: 'user', + default: () => this.client.user } ] }); diff --git a/package.json b/package.json index 1b0f1542..ddc83dc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "124.5.5", + "version": "124.5.6", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {