imgbot
Kieran 2022-09-15 21:15:41 +01:00
parent 83212f419b
commit f3f5cbb0d5
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ client.on('guildScheduledEventCreate', async (guildScheduledEvent) => {
.setTitle(guildScheduledEvent.name)
.setDescription(guildScheduledEvent.description)
.setColor('GREEN');
if (guildScheduledEvent.creator.tag) {
if (guildScheduledEvent.creator.tag !== null) {
embed.setFooter({ text: `Created by ${guildScheduledEvent.creator.tag}` });
}
embed.setTimestamp();