mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07: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,
|
||||
"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:
|
||||
userobj["nick"] = user.nick
|
||||
if user.game:
|
||||
|
Loading…
Reference in New Issue
Block a user