From 9672cfc6b7eb17da83359ce5c533dd9a1e7dddf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sun, 21 Apr 2019 12:06:38 +0200 Subject: [PATCH] removed credit.js and added credit aliases for about.js --- commands/utility/about.js | 2 +- commands/utility/credit.js | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 commands/utility/credit.js diff --git a/commands/utility/about.js b/commands/utility/about.js index 14315671..dda69e4d 100644 --- a/commands/utility/about.js +++ b/commands/utility/about.js @@ -4,7 +4,7 @@ const { MessageEmbed } = require('discord.js'); class aboutCommand extends Command { constructor() { super('about', { - aliases: ['about'], + aliases: ['about', 'credit'], category: 'utility', description: { content: 'About me ( the bot )', diff --git a/commands/utility/credit.js b/commands/utility/credit.js deleted file mode 100644 index 0c4f04c0..00000000 --- a/commands/utility/credit.js +++ /dev/null @@ -1,21 +0,0 @@ -const { Command } = require('discord-akairo'); - -class creditCommand extends Command { - constructor() { - super('credit', { - aliases: ['credit'], - category: 'utility', - description: { - content: 'Show credits for the bot', - usage: '(optional) [@user]', - examples: ['', '@user'] - } - }); - } - - async exec(message) { - message.channel.send('Thanks to Tina the Cyclops girl#0064 for inspiring me making a bot,\nThanks to discord.js team for making discord.js\nThanks to 1computer1 for making discord-akairo and the help command'); - } -} - -module.exports = creditCommand; \ No newline at end of file