mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
pirla
This commit is contained in:
parent
f072cd7249
commit
ec713c345e
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ class RoyalDiscordBot(discord.Client):
|
||||||
if member.activity.state is not None:
|
if member.activity.state is not None:
|
||||||
message += f" ({escape(member.activity.state)} | {escape(member.activity.details)})"
|
message += f" ({escape(member.activity.state)} | {escape(member.activity.details)})"
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
message += f" (⚠️)"
|
pass
|
||||||
elif member.activity.type == discord.ActivityType.streaming:
|
elif member.activity.type == discord.ActivityType.streaming:
|
||||||
message += f" | 📡 [{escape(member.activity.name)}]({escape(member.activity.url)})"
|
message += f" | 📡 [{escape(member.activity.name)}]({escape(member.activity.url)})"
|
||||||
elif member.activity.type == discord.ActivityType.listening:
|
elif member.activity.type == discord.ActivityType.listening:
|
||||||
|
|
Loading…
Reference in a new issue