1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2017-03-22 19:34:47 +01:00
parent 145966c3b1
commit e75a68b3b3

View file

@ -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":