nyx/commands/Owner/reaction-role.js

52 lines
1.7 KiB
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Client, Message, MessageEmbed } = require("discord.js");
module.exports = {
2021-06-24 09:53:19 +02:00
name: "rr",
2021-06-12 12:53:51 +02:00
Owner: true,
run: async (client, message, args) => {
const embed = new MessageEmbed()
.setAuthor(
"Ń1ght and Cath Nation",
2021-07-13 05:17:39 +02:00
message.guild.iconURL({ dynamic: true, size: 4096 })
2021-06-12 12:53:51 +02:00
)
.setColor(client.color)
.setDescription(
"*Welcome to Ń1ght and Cath Nation*.\n**Please get a role below by reacting!**\n**[Invite](https://discord.com/api/oauth2/authorize?client_id=800966959268364288&permissions=4231314550&scope=bot%20applications.commands) | [Support](https://discord.gg/SbQHChmGcp) | [YouTube](https://youtube.com/c/Kirito01) | [Website](https://www.cath.gq)**"
)
.addFields(
{
name: "Gold<:gold:841194046419370024>",
value: "<@&841200768706543636>",
inline: true,
},
{
name: "Platinum<:platinum:841194040165924865>",
value: "<@&840536973126270976>",
inline: true,
},
{
name: "Updates<:Update:841196992385253408>",
value: "<@&841200845885538325>",
inline: true,
},
{
name: "Announcements<:announce_dark:841195615458951168>",
value: "<@&841026716181069824>",
inline: false,
},
{
name: "YouTube<:YouTube:841186450497339412>",
2021-06-24 09:53:19 +02:00
value: "<@&841026772790673448>",
2021-06-12 12:53:51 +02:00
inline: true,
}
)
.setThumbnail(client.user.displayAvatarURL())
.setURL(client.web)
.setFooter(
"Ń1ght#0001",
2021-07-13 05:17:39 +02:00
message.author.displayAvatarURL({ dynamic: true, size: 4096 })
2021-06-12 12:53:51 +02:00
)
.setTimestamp();
message.channel.send(embed);
},
};