mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Auto-Aliases
This commit is contained in:
@@ -6,9 +6,9 @@ const operations = ['+', '-', '*'];
|
||||
module.exports = class MathGameCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'mathgame',
|
||||
name: 'math-game',
|
||||
group: 'games',
|
||||
memberName: 'mathgame',
|
||||
memberName: 'math-game',
|
||||
description: 'See how fast you can answer a math problem in a given time limit.',
|
||||
args: [
|
||||
{
|
||||
|
||||
@@ -4,12 +4,12 @@ const responses = ['Paper', 'Rock', 'Scissors'];
|
||||
module.exports = class RockPaperScissorsCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'rps',
|
||||
name: 'rock-paper-scissors',
|
||||
aliases: [
|
||||
'rockpaperscissors'
|
||||
'rps'
|
||||
],
|
||||
group: 'games',
|
||||
memberName: 'rps',
|
||||
memberName: 'rock-paper-scissors',
|
||||
description: 'Play Rock-Paper-Scissors.',
|
||||
args: [
|
||||
{
|
||||
|
||||
@@ -5,9 +5,9 @@ const sentences = require('./sentences');
|
||||
module.exports = class TypingGameCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'typinggame',
|
||||
name: 'typing-game',
|
||||
group: 'games',
|
||||
memberName: 'typinggame',
|
||||
memberName: 'typing-game',
|
||||
description: 'See how fast you can type a sentence in a given time limit.',
|
||||
args: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user