Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
🐛 fix union type error
Browse files Browse the repository at this point in the history
Fuck Python 3.8
  • Loading branch information
MingxuanGame committed Dec 16, 2023
1 parent dcfad8e commit 06172c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hertavilla/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class AuditCallbackEvent(Event):
bot_tpl_id: str
"""机器人 id"""

room_id: int | None = None
room_id: Optional[int] = None
"""房间 id(和审核接口调用方传入的值一致)"""

user_id: int
Expand Down

0 comments on commit 06172c6

Please sign in to comment.