From 06172c62aca829084192b405ebfbad9df9bcfb33 Mon Sep 17 00:00:00 2001 From: MingxuanGame Date: Sat, 16 Dec 2023 23:34:39 +0800 Subject: [PATCH] :bug: fix union type error Fuck Python 3.8 --- hertavilla/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hertavilla/event.py b/hertavilla/event.py index 3deaf65..47db270 100644 --- a/hertavilla/event.py +++ b/hertavilla/event.py @@ -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