1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

🐛 Fix /cv not returning the full results while someone was streaming

This commit is contained in:
Steffo 2021-05-31 22:27:36 +02:00
parent 41c5d0386c
commit 0f3c240c05
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -136,7 +136,6 @@ def build_activity_string(activity: discord.Activity) -> str:
text = f"\uE011{activity.name}\uE001" text = f"\uE011{activity.name}\uE001"
elif activity.type == discord.ActivityType.streaming: elif activity.type == discord.ActivityType.streaming:
text = f"{activity.url}" text = f"{activity.url}"
breakpoint()
else: else:
text = f"{activity.name}" text = f"{activity.name}"