Update created by

imgbot
Kieran 2022-07-04 17:53:51 +01:00
parent 39a9c73ab8
commit 6bbb84bb98
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ client.on('guildScheduledEventCreate', async guildScheduledEvent =>{
const channel = client.channels.cache.get('973686987787751534') const channel = client.channels.cache.get('973686987787751534')
const embed = new discord.MessageEmbed() const embed = new discord.MessageEmbed()
.setColor('GREEN') .setColor('GREEN')
.setFooter(`Created by ${guildScheduledEvent.creator}`) .setFooter(`Created by ${guildScheduledEvent.creator.tag}`)
.setTimestamp() .setTimestamp()
.setTitle("New Event") .setTitle("New Event")
.addField('Name:', `${guildScheduledEvent.name}`) .addField('Name:', `${guildScheduledEvent.name}`)