About bot command
This commit is contained in:
parent
c0354be62a
commit
fc36b6dfce
1 changed files with 29 additions and 0 deletions
29
commands/utility/about.js
Normal file
29
commands/utility/about.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
const { Command } = require('discord-akairo');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
class aboutCommand extends Command {
|
||||
constructor() {
|
||||
super('about', {
|
||||
aliases: ['about'],
|
||||
category: 'utility',
|
||||
description: {
|
||||
content: 'About me ( the bot )',
|
||||
usage: '',
|
||||
examples: ['']
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async exec(message) {
|
||||
const aboutEmbed = new MessageEmbed()
|
||||
.setColor('#ff9900')
|
||||
.setAuthor('Supositware#1616', this.client.user.avatarURL)
|
||||
.setTitle('About me')
|
||||
.setURL('https://gitlab.com/LoicBersier/DiscordBot')
|
||||
.setDescription('This bot is made using [discord.js](https://github.com/discordjs/discord.js) & [Discord-Akairo](https://github.com/discord-akairo/discord-akairo)\nHelp command from [hoshi](https://github.com/1Computer1/hoshi) And thanks to Tina the Cyclops girl#0064 for inspiring me for making this bot!');
|
||||
|
||||
message.channel.send(aboutEmbed);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = aboutCommand;
|
Loading…
Reference in a new issue