Update footer

imgbot
Kieran 2022-08-26 13:41:53 +01:00
parent e50eba6c91
commit ffe862dada
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ module.exports = {
const embed = new MessageEmbed()
.setTitle("Thanks for considering to become a paid member!")
.setColor('GREEN')
.setFooter(`Called By: ${message.author.tag}`)
.setFooter({text: `Called By: ${message.author.tag}`})
.addField('You can purchase from below!','https://hulluniunion.com/shop?aid=304')
message.channel.send({ embeds: [embed] });
}

View File

@ -6,7 +6,7 @@ client.on('guildScheduledEventCreate', async guildScheduledEvent =>{
const channel = client.channels.cache.get('973686987787751534')
const embed = new MessageEmbed()
.setColor('GREEN')
.setFooter(`Created by ${guildScheduledEvent.creatorId}`)
.setFooter({text: `Created by ${guildScheduledEvent.creator.tag}`})
.setTimestamp()
.setTitle("New Event")
.setImage(`https://cdn.discordapp.com/guild-events/${guildScheduledEvent.id}/${guildScheduledEvent.image}.png`)