From 2a78aab3e28a1970f137d287b8ded9d0da0019e3 Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 4 Jul 2022 21:30:08 +0100 Subject: [PATCH] Added union link to paid member request embed --- events/guildScheduledEvent.js | 2 -- events/interactionCreate.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/events/guildScheduledEvent.js b/events/guildScheduledEvent.js index df41d4d..a5da6a5 100644 --- a/events/guildScheduledEvent.js +++ b/events/guildScheduledEvent.js @@ -26,7 +26,5 @@ client.on('guildScheduledEventCreate', async guildScheduledEvent =>{ embed.addField('End Date and Time', `${guildScheduledEvent.scheduledEndAt.toLocaleString("en-UK")}`, true) } embed.addField('InviteURL', `${guildScheduledEvent.url}`) - - channel.send({ embeds: [embed]}) }) \ No newline at end of file diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 13b6fdf..a6b1a44 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -269,6 +269,7 @@ client.on("interactionCreate", async (interaction) => { .addField('Discord Tag', `${ interaction.user} <- Click to add role.`) .addField('Student Name', `${ interaction.fields.getTextInputValue("studentname")}`) .addField('Student Number',`${ interaction.fields.getTextInputValue("studentnumber")}`) + .setDescription('https://hulluniunion.com/') const row = new discord.MessageActionRow() .addComponents( new discord.MessageButton()