diff options
Diffstat (limited to 'ATRI/plugins/essential')
-rw-r--r-- | ATRI/plugins/essential/__init__.py | 2 | ||||
-rw-r--r-- | ATRI/plugins/essential/models.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ATRI/plugins/essential/__init__.py b/ATRI/plugins/essential/__init__.py index f8e3cb1..da59ef8 100644 --- a/ATRI/plugins/essential/__init__.py +++ b/ATRI/plugins/essential/__init__.py @@ -96,7 +96,7 @@ async def _(event: GroupRequestEvent): user_id=user_id, comment=apply_comment, time=now_time, - ) + ).dict() await file.write(json.dumps(data)) result = ( diff --git a/ATRI/plugins/essential/models.py b/ATRI/plugins/essential/models.py index 4aa5693..dd2a801 100644 --- a/ATRI/plugins/essential/models.py +++ b/ATRI/plugins/essential/models.py @@ -1,4 +1,3 @@ -from typing import List, Optional from pydantic import BaseModel |