We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b690fbe commit c2c43b4Copy full SHA for c2c43b4
src/zibot/exts/meta/meta.py
@@ -313,7 +313,8 @@ async def onHighlight(self, message: discord.Message):
313
self.lastSeen[channelId] = ExpiringDict(maxAgeSeconds=1800)
314
self.lastSeen[channelId][authorId] = msgId
315
316
- if not (guildHighlight := self.highlights.get(guild.id)):
+ guildHighlight = self.highlights.get(guild.id)
317
+ if not guildHighlight:
318
return
319
320
for hl, owners in guildHighlight.items():
0 commit comments