From a8746513187f9fa1bd438589d5cef03fd81311ee Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 28 Aug 2018 15:51:06 +0200 Subject: [PATCH] 198 --- discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot.py b/discordbot.py index e75f69ed..0dc93f4f 100644 --- a/discordbot.py +++ b/discordbot.py @@ -383,7 +383,7 @@ class RoyalDiscordBot(discord.Client): else: message += f"In #{channels[channel].name}:\n" for member in members_in_channels[channel]: - if member.status == discord.Status.offline and member.voice.channel is None: + if member.status == discord.Status.offline and member.voice is None: continue # Online status emoji if member.bot: