mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ 同步新模板 schemas
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
from typing import Literal
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
from .base import People
|
||||
from .base import Base, People
|
||||
|
||||
|
||||
class Bind(BaseModel):
|
||||
class Bind(Base):
|
||||
platform: Literal['TETR.IO', 'TOP', 'TOS']
|
||||
status: Literal['error', 'success', 'unknown', 'unlink', 'unverified']
|
||||
type: Literal['success', 'unknown', 'unlink', 'unverified', 'error']
|
||||
user: People
|
||||
bot: People
|
||||
command: str
|
||||
prompt: str
|
||||
|
||||
Reference in New Issue
Block a user