Auto-Aliases

This commit is contained in:
Daniel Odendahl Jr
2017-05-07 17:34:59 +00:00
parent 0a1bc41b26
commit 52e299b1b4
44 changed files with 83 additions and 89 deletions
+2 -2
View File
@@ -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: [
{
+3 -3
View File
@@ -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: [
{
+2 -2
View File
@@ -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: [
{