added invite link command
This commit is contained in:
parent
2956c7a9ff
commit
0cb28e7317
1 changed files with 22 additions and 0 deletions
22
DiscordModules/General/invite.js
Normal file
22
DiscordModules/General/invite.js
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
const Command = require('../../src/structures/Command');
|
||||||
|
const D = require('discord.js');
|
||||||
|
module.exports = class Invite extends Command {
|
||||||
|
constructor() {
|
||||||
|
super({
|
||||||
|
name: 'invite',
|
||||||
|
description: 'Get the Bot Invite.',
|
||||||
|
module: 'General',
|
||||||
|
cooldown: 0,
|
||||||
|
guildOnly: false,
|
||||||
|
developerOnly: false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async command(ctx) {
|
||||||
|
const Embed = new D.MessageEmbed()
|
||||||
|
.setDescription(`**[Invite Me!](https://thaldr.in/invite)**`)
|
||||||
|
.setColor(ctx.config.color)
|
||||||
|
.setFooter(`${ctx.client.user.username}`, ctx.client.user.avatarURL());
|
||||||
|
return ctx.send(Embed);
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in a new issue