Added union link to paid member request embed

imgbot
Kieran 2022-07-04 21:30:08 +01:00
parent 0fc321d35a
commit 2a78aab3e2
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,5 @@ client.on('guildScheduledEventCreate', async guildScheduledEvent =>{
embed.addField('End Date and Time', `${guildScheduledEvent.scheduledEndAt.toLocaleString("en-UK")}`, true) embed.addField('End Date and Time', `${guildScheduledEvent.scheduledEndAt.toLocaleString("en-UK")}`, true)
} }
embed.addField('InviteURL', `${guildScheduledEvent.url}`) embed.addField('InviteURL', `${guildScheduledEvent.url}`)
channel.send({ embeds: [embed]}) channel.send({ embeds: [embed]})
}) })

View File

@ -269,6 +269,7 @@ client.on("interactionCreate", async (interaction) => {
.addField('Discord Tag', `${ interaction.user} <- Click to add role.`) .addField('Discord Tag', `${ interaction.user} <- Click to add role.`)
.addField('Student Name', `${ interaction.fields.getTextInputValue("studentname")}`) .addField('Student Name', `${ interaction.fields.getTextInputValue("studentname")}`)
.addField('Student Number',`${ interaction.fields.getTextInputValue("studentnumber")}`) .addField('Student Number',`${ interaction.fields.getTextInputValue("studentnumber")}`)
.setDescription('https://hulluniunion.com/')
const row = new discord.MessageActionRow() const row = new discord.MessageActionRow()
.addComponents( .addComponents(
new discord.MessageButton() new discord.MessageButton()