重写了GetFile的解析逻辑。
This commit is contained in:
@@ -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."
|
||||
Reference in New Issue
Block a user