mirror of
https://gitflic.ru/project/maks1ms/ocab.git
synced 2025-10-11 06:22:37 +03:00
добавлены модули config, role, исправлена бд
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
import yaml
|
||||
|
||||
with open('config.yaml', 'r') as file:
|
||||
yaml_load = yaml.full_load(file)
|
@@ -1,2 +1,7 @@
|
||||
TELEGRAM:
|
||||
TOKEN: xxxxxxxxxxxxxxxxxxxx
|
||||
TOKEN: xxxxxxxxxxxxxxxxxxxx
|
||||
ROLES:
|
||||
ADMIN: 0
|
||||
MODERATOR: 1
|
||||
USER: 2
|
||||
BOT: 3
|
@@ -1,4 +1,4 @@
|
||||
from .config import yaml_load
|
||||
from src.modules.standart.config.config import yaml_load
|
||||
|
||||
from asyncio import run
|
||||
from aiogram import Bot, Dispatcher
|
||||
|
Reference in New Issue
Block a user