重写了GetFile的解析逻辑。

This commit is contained in:
Pyhtagodzilla
2025-07-31 00:44:06 +08:00
parent 2dc3faaf03
commit 63b97d2d2f
14 changed files with 180 additions and 135 deletions
+16
View File
@@ -0,0 +1,16 @@
from sqlmodel import SQLModel, Session, select, create_engine
from ncatbot.plugin import BasePlugin, CompatibleEnrollment
from ncatbot.utils import get_log
bot = CompatibleEnrollment()
_log = get_log()
class Data(SQLModel, table=True):
__tablename__ = 'file'
class DataBase(BasePlugin):
name = "DataBase"
version = "0.0.1"
author = "pythagodzilla"
info = "A plugin to control data base."