nyx/command/Utilities/invite.js

32 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-09-06 12:38:25 +02:00
const { MessageEmbed } = require("discord.js");
module.exports = {
name: "invite",
description: "Get bot invite link or get support",
category: "Utilities",
type: "CHAT_INPUT",
run: async (client, interaction, args, utils) => {
const embed = new MessageEmbed()
.setFooter(`Made by ${client.author}`, client.user.displayAvatarURL())
2021-09-06 12:38:25 +02:00
.setColor(client.color)
.setTimestamp()
2022-03-02 19:37:05 +01:00
.setAuthor({
text: interaction.user.tag,
iconURL: interaction.user.displayAvatarURL({ dynamic: true }),
})
2021-09-06 12:38:25 +02:00
.setTitle(`Support/Invite`)
.setThumbnail(
"https://github.com/night0721/cath.js/blob/master/util/assets/images/nyx_logo_transparent.webp"
2021-09-06 12:38:25 +02:00
)
.addField(
"<a:booster:896527475063025704> **Premium**",
"**You can either boost support server or subscribe to developer's team [Ko-Fi](https://ko-fi.com/cathteam) or gift a nitro to one of the developer team.**"
2021-09-06 12:38:25 +02:00
);
interaction.followUp({
content: "Please click the buttons below for more information",
embeds: [embed],
components: utils.buttons(client),
});
2021-09-06 12:38:25 +02:00
},
};