Skip to content

Commit

Permalink
Refactor guildCreate event handler to fix footer iconURL bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Jul 11, 2024
1 parent d78d318 commit fd87e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/bot/events/guildCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
];

Expand Down

0 comments on commit fd87e74

Please sign in to comment.