import { Command } from 'discord-akairo'; import { Message } from 'discord.js'; import { colour } from '../../Config'; export default class InviteBot extends Command { public constructor() { super('invite', { aliases: ['invite'], category: 'bot', description: { content: 'Gives you the bot\'s invite link.', usage: '', examples: [ '' ] }, ratelimit: 3 }); } public exec(msg: Message): Promise { const embed = this.client.util.embed() .setColor(colour) .setDescription('To invite the bot, please use [this link](https://kyzer.co/discord/bots/uwufier/).'); return msg.channel.send(embed); } }