From f3f5cbb0d521bcff4ab98d622a06b71fcdf9728b Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 15 Sep 2022 21:15:41 +0100 Subject: [PATCH] Typo --- src/events/guildScheduledEvent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/guildScheduledEvent.js b/src/events/guildScheduledEvent.js index fc58d38..9b882ca 100644 --- a/src/events/guildScheduledEvent.js +++ b/src/events/guildScheduledEvent.js @@ -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();