mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Change to static image and color sidebar fix
This commit is contained in:
parent
8b6645306a
commit
0631ccc96d
@ -66,6 +66,10 @@ class SocketIOInterface:
|
|||||||
"username": user.name,
|
"username": user.name,
|
||||||
"nick": None,
|
"nick": None,
|
||||||
}
|
}
|
||||||
|
if userobj["color"] == "000000":
|
||||||
|
userobj["color"] = None
|
||||||
|
if userobj["avatar_url"][len(userobj["avatar_url"])-15:] != ".jpg":
|
||||||
|
userobj["avatar_url"] = userobj["avatar_url"][:len(userobj["avatar_url"])-14] + ".jpg"
|
||||||
if user.nick:
|
if user.nick:
|
||||||
userobj["nick"] = user.nick
|
userobj["nick"] = user.nick
|
||||||
if user.game:
|
if user.game:
|
||||||
|
Loading…
Reference in New Issue
Block a user