Browse Source

rename botsys bot_sys

test_bot
Alexei 2 years ago
parent
commit
bbc0d80f9e
  1. 0
      bot_sys/bot_bd.py
  2. 0
      bot_sys/config.py
  3. 2
      bot_sys/log.py
  4. 2
      main.py

0
botsys/bot_bd.py → bot_sys/bot_bd.py

0
botsys/config.py → bot_sys/config.py

2
botsys/log.py → bot_sys/log.py

@ -13,7 +13,7 @@
# Файл лога # Файл лога
g_log_file_name = 'log.txt' g_log_file_name = 'log.txt'
from botsys import config from bot_sys import config
import colorama import colorama
import datetime import datetime
colorama.init() colorama.init()

2
main.py

@ -9,7 +9,7 @@ from aiogram.utils import executor
from aiogram.dispatcher import Dispatcher from aiogram.dispatcher import Dispatcher
from aiogram.contrib.fsm_storage.memory import MemoryStorage from aiogram.contrib.fsm_storage.memory import MemoryStorage
import sqlite3 import sqlite3
from botsys import config, log from bot_sys import config, log
storage = MemoryStorage() storage = MemoryStorage()
bot = Bot(token=config.GetTelegramBotApiToken(), parse_mode=types.ParseMode.HTML) bot = Bot(token=config.GetTelegramBotApiToken(), parse_mode=types.ParseMode.HTML)

Loading…
Cancel
Save