removed credit.js and added credit aliases for about.js

This commit is contained in:
Loïc Bersier 2019-04-21 12:06:38 +02:00
parent 8d6950ac20
commit 9672cfc6b7
2 changed files with 1 additions and 22 deletions

View file

@ -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 )',

View file

@ -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;