Updated delete message button text
parent
3cbf56f400
commit
7a5887e96b
|
@ -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 })
|
||||
|
||||
|
|
Loading…
Reference in New Issue