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