From fd87e74395471b6d5b7571564ee72fac03e1da3b Mon Sep 17 00:00:00 2001 From: chimpdev Date: Thu, 11 Jul 2024 22:16:25 +0300 Subject: [PATCH] Refactor guildCreate event handler to fix footer iconURL bug --- server/src/bot/events/guildCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/bot/events/guildCreate.js b/server/src/bot/events/guildCreate.js index 9dbae9dd..005ad8bb 100644 --- a/server/src/bot/events/guildCreate.js +++ b/server/src/bot/events/guildCreate.js @@ -22,7 +22,7 @@ module.exports = async guild => { value: guild.memberCount.toString() } ]) - .setFooter({ text: guild.name, iconUrl: guild.iconURL() }) + .setFooter({ text: guild.name, iconURL: guild.iconURL() }) .setTimestamp() ];