|
|
@@ -2,12 +2,12 @@ from __future__ import annotations |
|
|
|
|
|
|
|
import random |
|
|
|
from datetime import datetime |
|
|
|
from enum import Enum |
|
|
|
from typing import cast |
|
|
|
|
|
|
|
from eloquent import DatabaseManager, Model |
|
|
|
from eloquent import DatabaseManager, Model # type: ignore |
|
|
|
|
|
|
|
from config import CONFIG |
|
|
|
from consts import Character |
|
|
|
from models import Answer, Query, User |
|
|
|
from talk import Talk |
|
|
|
|
|
|
@@ -55,10 +55,5 @@ def main ( |
|
|
|
query.save () |
|
|
|
|
|
|
|
|
|
|
|
class Character (Enum): |
|
|
|
DEERJIKA = 1 |
|
|
|
GOATOH = 2 |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
main () |