From 7a5887e96b538df3ef57ecb88eb06153127fc946 Mon Sep 17 00:00:00 2001 From: kieranrobson Date: Fri, 13 May 2022 10:36:08 +0100 Subject: [PATCH] Updated delete message button text --- events/modalSubmitInteraction.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/events/modalSubmitInteraction.js b/events/modalSubmitInteraction.js index a55c0c5..e75d102 100644 --- a/events/modalSubmitInteraction.js +++ b/events/modalSubmitInteraction.js @@ -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 })