nyx/commands/Utilities/invite.js

30 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Client, Message, MessageEmbed } = require("discord.js");
module.exports = {
name: "invite",
2021-06-24 09:53:19 +02:00
aliases: ["support", "bot", "server"],
2021-06-12 12:53:51 +02:00
description: "Get bot invite link",
category: "Utilities",
run: async (client, message, args) => {
2021-06-24 09:53:19 +02:00
var embed = new MessageEmbed()
.setFooter(`Made by ${client.author}`)
.setColor(client.color)
.setTimestamp()
.setAuthor(message.author.tag, message.author.displayAvatarURL)
.setTitle(`Support/Invite`)
.addField(
"**Invite Link**",
`**Invite me to your server by clicking [here](https://discord.com/api/oauth2/authorize?client_id=${client.user.id}&permissions=4231314550&scope=bot%20applications.commands)**`
)
.addField(
"**Support Server Invite**",
"**Join the support server by clicking [here](https://discord.gg/SbQHChmGcp)**"
)
.addField(
"**Premium**",
"**You can either boost support server or gift a nitro to one of the Developer of Cath Team to be premium user**"
);
message.inlineReply(embed);
2021-06-12 12:53:51 +02:00
},
};