discord_bot/commands/help/invite.js

24 lines
639 B
JavaScript
Raw Permalink Normal View History

2024-02-07 14:45:57 +00:00
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)
}
}