mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
fics
This commit is contained in:
parent
145966c3b1
commit
e75a68b3b3
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ Sintassi: `/cv`"""
|
||||||
if user.status.name == "online":
|
if user.status.name == "online":
|
||||||
# Online
|
# Online
|
||||||
status = "🔵"
|
status = "🔵"
|
||||||
elif user.status.name == "dnd" or user.game.type == 1:
|
elif user.status.name == "dnd" or (user.game is not None and user.game.type == 1):
|
||||||
# Do not disturb or streaming
|
# Do not disturb or streaming
|
||||||
status = "🔴"
|
status = "🔴"
|
||||||
elif user.status.name == "idle":
|
elif user.status.name == "idle":
|
||||||
|
|
Loading…
Reference in a new issue