Skip to content

Commit

Permalink
fix(onebot.v11): mface deserialize
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Nov 9, 2024
1 parent ca355f5 commit f25d335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avilla/onebot/v11/perform/message/deserialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ async def file(self, raw_element: dict) -> File:
async def mface(self, raw_element: dict) -> MarketFace:
return MarketFace(
id=raw_element["data"]["emoji_id"],
tab_id=str(raw_element["data"]["package_id"]),
tab_id=str(raw_element["data"]["emoji_package_id"]),
key=raw_element["data"]["key"],
summary=raw_element["data"]["text"],
summary=raw_element["data"]["summary"],
)

# TODO

0 comments on commit f25d335

Please sign in to comment.