Updated delete message button text

imgbot
kieranrobson 2022-05-13 10:36:08 +01:00
parent 3cbf56f400
commit 7a5887e96b
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ const discord = require('discord.js');
client.on('modalSubmitInteraction', async (interaction) => {
if(interaction.customId === 'modal-paidmember'){
const execchannel = client.channels.cache.get('849708647953334282')
const execchannel = client.channels.cache.get('970027557607071754')
const embed = new discord.MessageEmbed()
.setTitle("New Paid Member Request")
@ -16,10 +16,10 @@ client.on('modalSubmitInteraction', async (interaction) => {
new discord.MessageButton()
.setCustomId('paidmemberdelete')
.setEmoji('')
.setLabel('Delete Membership')
.setLabel('Delete Message')
.setStyle('DANGER')
)
execchannel.send({embeds: [embed], rows: [row] });
execchannel.send({embeds: [embed], components: [row] });
await interaction.deferReply({ ephemeral: true })
interaction.followUp({ content: 'Your request has been sent to execs!', ephemeral: true })