v8.0 - Dev-1
This commit is contained in:
1 parent
6d363abb54
commit
209ec0b435
25 files changed
+598
-501
No files matched your search
+7
-6
@@ -19,21 +19,22 @@ module.exports = new Command({
|
||||
permissions: ["SEND_MESSAGES"],
|
||||
|
||||
async run(interaction) {
|
||||
const InfoButton = new Discord.MessageButton()
|
||||
const InfoButton = new Discord.ButtonBuilder()
|
||||
.setLabel(supportbot.InfoButtonText)
|
||||
.setURL(supportbot.InfoURL)
|
||||
.setStyle("LINK");
|
||||
.setStyle("Link");
|
||||
|
||||
const inforow = new Discord.MessageActionRow().addComponents(InfoButton);
|
||||
const inforow = new Discord.ActionRowBuilder().addComponents(InfoButton);
|
||||
|
||||
const InfoEmbed = new Discord.MessageEmbed()
|
||||
const InfoEmbed = new Discord.EmbedBuilder()
|
||||
.setURL(supportbot.InfoURL)
|
||||
.setTitle(supportbot.InfoTitle)
|
||||
.setColor(supportbot.InfoColour);
|
||||
.setDescription(supportbot.InfoDesc)
|
||||
.setColor(supportbot.InfoColour)
|
||||
|
||||
interaction.reply({
|
||||
embeds: [InfoEmbed],
|
||||
components: [inforow],
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user