mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-07-25 09:44:29 +00:00
Update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
from aiogram import Bot
|
||||
from aiogram.types import BotCommand, BotCommandScopeChat, BotCommandScopeDefault
|
||||
|
||||
from tgbot.config import get_admins
|
||||
from tgbot.data.config import get_admins
|
||||
|
||||
# Команды для юзеров
|
||||
user_commands = [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
from aiogram.dispatcher.filters import BaseFilter
|
||||
from aiogram.types import Message
|
||||
|
||||
from tgbot.config import get_admins
|
||||
from tgbot.data.config import get_admins
|
||||
|
||||
|
||||
# Проверка на админа
|
||||
|
||||
@@ -3,7 +3,7 @@ import logging as bot_logger
|
||||
|
||||
import colorlog
|
||||
|
||||
from tgbot.config import PATH_LOGS
|
||||
from tgbot.data.config import PATH_LOGS
|
||||
|
||||
# Формат логгирования
|
||||
log_formatter_file = bot_logger.Formatter("%(levelname)s | %(asctime)s | %(filename)s:%(lineno)d | %(message)s")
|
||||
|
||||
Reference in New Issue
Block a user