mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 15:57:02 +01:00 
			
		
		
		
	Change to static image and color sidebar fix
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user