1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2018-12-29 01:50:37 +01:00
parent f072cd7249
commit ec713c345e

View file

@ -644,7 +644,7 @@ class RoyalDiscordBot(discord.Client):
if member.activity.state is not None:
message += f" ({escape(member.activity.state)} | {escape(member.activity.details)})"
except AttributeError:
message += f" (⚠️)"
pass
elif member.activity.type == discord.ActivityType.streaming:
message += f" | 📡 [{escape(member.activity.name)}]({escape(member.activity.url)})"
elif member.activity.type == discord.ActivityType.listening: