1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
This commit is contained in:
Steffo 2018-08-28 15:51:06 +02:00
parent 0fd45cca6f
commit a874651318

View file

@ -383,7 +383,7 @@ class RoyalDiscordBot(discord.Client):
else: else:
message += f"In #{channels[channel].name}:\n" message += f"In #{channels[channel].name}:\n"
for member in members_in_channels[channel]: 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 continue
# Online status emoji # Online status emoji
if member.bot: if member.bot: