16 lines
411 B
Python
16 lines
411 B
Python
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." |