mirror of
https://github.com/System-End/nephthys.git
synced 2026-04-19 18:35:14 +00:00
user_info not user goddamn it
This commit is contained in:
parent
073fe764e2
commit
0204381ceb
1 changed files with 2 additions and 1 deletions
|
|
@ -55,7 +55,8 @@ async def on_message(event: Dict[str, Any], client: AsyncWebClient):
|
|||
if user_info:
|
||||
profile_pic = user_info["user"]["profile"].get("image_512", "")
|
||||
display_name = (
|
||||
user_info["user"]["profile"]["display_name"] or user["user"]["real_name"]
|
||||
user_info["user"]["profile"]["display_name"]
|
||||
or user_info["user"]["real_name"]
|
||||
)
|
||||
|
||||
ticket = await client.chat_postMessage(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue