mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Fix cv bug
This commit is contained in:
parent
53824e990c
commit
c839ea2aca
1 changed files with 2 additions and 1 deletions
|
@ -77,6 +77,7 @@ class CvCommand(Command):
|
|||
activity += f" | 📺 {mact['name']}"
|
||||
# Custom Status
|
||||
elif mact["type"] == 4:
|
||||
if "state" in activity:
|
||||
activity += f" | ❓ {mact['state']}"
|
||||
else:
|
||||
raise ExternalError(f"Unknown Discord activity type: {mact['type']}")
|
||||
|
|
Loading…
Reference in a new issue