rewrite: New Pomodoro Timer system.
This commit is contained in:
@@ -255,7 +255,6 @@ class VoiceTrackerCog(LionCog):
|
||||
|
||||
@LionCog.listener("on_voice_state_update")
|
||||
@log_wrap(action='Voice Track')
|
||||
@log_wrap(action='Voice Event')
|
||||
async def session_voice_tracker(self, member, before, after):
|
||||
"""
|
||||
Spawns the correct tasks from members joining, leaving, and changing live state.
|
||||
@@ -265,6 +264,9 @@ class VoiceTrackerCog(LionCog):
|
||||
# Rely on initialisation to handle current state
|
||||
return
|
||||
|
||||
if member.bot:
|
||||
return
|
||||
|
||||
# Check user blacklist
|
||||
blacklists = self.bot.get_cog('Blacklists')
|
||||
if member.id in blacklists.user_blacklist:
|
||||
|
||||
Reference in New Issue
Block a user