fix (Trackers): Ignore bots for workout and study.

This commit is contained in:
2021-09-20 10:01:26 +03:00
parent 0c3f752e5a
commit ad773c95d3
2 changed files with 6 additions and 1 deletions

View File

@@ -168,6 +168,9 @@ async def workout_voice_tracker(client, member, before, after):
while not module.ready:
asyncio.sleep(0.1)
if member.bot:
return
# Check whether we are moving to/from a workout channel
settings = GuildSettings(member.guild.id)
channels = settings.workout_channels.value