Browse Source

ぼちぼち

main
みてるぞ 4 weeks ago
parent
commit
8e1d305b4a
2 changed files with 13 additions and 7 deletions
  1. +11
    -0
      consts.py
  2. +2
    -7
      queries_to_answers.py

+ 11
- 0
consts.py View File

@@ -0,0 +1,11 @@
from enum import Enum


class Character (Enum):
DEERJIKA = 1
GOATOH = 2


class Platform (Enum):
YOUTUBE = 1
BLUESKY = 2

+ 2
- 7
queries_to_answers.py View File

@@ -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 ()

Loading…
Cancel
Save