Use id as key for hid
This commit is contained in:
		| @@ -644,7 +644,7 @@ async def export(conn, message, args): | ||||
|  | ||||
|     data = { | ||||
|         "name": system["name"], | ||||
|         "hid": system["hid"], | ||||
|         "id": system["hid"], | ||||
|         "description": system["description"], | ||||
|         "tag": system["tag"], | ||||
|         "avatar_url": system["avatar_url"], | ||||
| @@ -652,7 +652,7 @@ async def export(conn, message, args): | ||||
|         "members": [ | ||||
|             { | ||||
|                 "name": member["name"], | ||||
|                 "hid": member["hid"], | ||||
|                 "id": member["hid"], | ||||
|                 "color": member["color"], | ||||
|                 "avatar_url": member["avatar_url"], | ||||
|                 "birthday": member["birthday"].isoformat() if member["birthday"] else None, | ||||
|   | ||||
| @@ -137,7 +137,7 @@ async def proxy_message(conn, member, trigger_message, inner): | ||||
| async def handle_proxying(conn, message): | ||||
|     # Can't proxy in DMs, webhook creation will explode | ||||
|     if message.channel.is_private: | ||||
|         return False | ||||
|         return | ||||
|  | ||||
|     # Big fat query to find every member associated with this account | ||||
|     # Returned member object has a few more keys (system tag, for example) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user