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:49:33 +01:00
parent 5ff11f2a98
commit f072cd7249

View file

@ -642,7 +642,7 @@ class RoyalDiscordBot(discord.Client):
# Rich presence
try:
if member.activity.state is not None:
message += f" ({escape(member.activity.state} | {member.activity.details)})"
message += f" ({escape(member.activity.state)} | {escape(member.activity.details)})"
except AttributeError:
message += f" (⚠️)"
elif member.activity.type == discord.ActivityType.streaming: