Skip to content

Commit 7b2ba3a

Browse files
committed
fix(log-guilds): actually make them listeners
1 parent a1c0663 commit 7b2ba3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

botbase/exts/log_guilds.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
class GuildLogging(CogBase[BotBase]):
16+
@CogBase.listener()
1617
async def on_guild_join(self, guild: Guild):
1718
if not self.bot.log_channel:
1819
return
@@ -38,6 +39,7 @@ async def on_guild_join(self, guild: Guild):
3839
except AttributeError:
3940
pass
4041

42+
@CogBase.listener()
4143
async def on_guild_remove(self, guild: Guild):
4244
if guild.unavailable:
4345
return

0 commit comments

Comments
 (0)