Fix footer for blacklisted servers

This commit is contained in:
loicbersier 2020-07-04 22:13:43 +02:00
parent 208f52eda5
commit 75ad99fb47

View file

@ -33,7 +33,7 @@ class guildCreateListener extends Listener {
if (blacklist) { if (blacklist) {
guild.leave(); guild.leave();
kickEmbed.setFooter(kickEmbed.footer + ' | Left this guild because owner is blacklisted!'); kickEmbed.setFooter(kickEmbed.footer.text + ' | Left this guild because owner is blacklisted!');
} }
channel.send({ embed: kickEmbed }); channel.send({ embed: kickEmbed });