24 lines
639 B
JavaScript
24 lines
639 B
JavaScript
|
const discord = require("discord.js");
|
||
|
|
||
|
module.exports = {
|
||
|
name: "invite",
|
||
|
category: "info",
|
||
|
description: "INVITE Difficult-Knights BOT",
|
||
|
run: async (client, message, args) => {
|
||
|
|
||
|
let embed = new discord.MessageEmbed()
|
||
|
.setTitle(`Invite Me`)
|
||
|
.setDescription(`• [Invite Me](https://discord.com/api/oauth2/authorize?client_id=974563800319676446&permissions=8&scope=bot)`)
|
||
|
.setColor("RANDOM")
|
||
|
.setThumbnail(client.user.displayAvatarURL())
|
||
|
.setFooter(
|
||
|
`Difficult-Knights Bot`,
|
||
|
client.user.displayAvatarURL(),
|
||
|
message.delete()
|
||
|
);
|
||
|
|
||
|
message.channel .send(embed)
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|