fixed start after move

This commit is contained in:
bacon
2024-03-18 01:49:40 +03:00
parent e1fc05dea2
commit fff1a5c0c7
16 changed files with 29 additions and 47 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3
import asyncio
from os import getenv
from os.path import isfile
@@ -7,9 +6,9 @@ from disnake import OptionType, Option, Localized, ApplicationCommandInteraction
from disnake.ext.commands import Bot, is_owner
from dotenv import load_dotenv
from lib.CogsPrep import work_with_cogs, cog_list
from lib.Comands import determine_prefix
from lib.Logger import logger
from integral_lib.CogsPrep import work_with_cogs, cog_list
from integral_lib.Comands import determine_prefix
from integral_lib.Logger import logger
load_dotenv()
if not isfile('.env') or not getenv('CONF_FILE'):
@@ -36,7 +35,7 @@ bot = Bot(command_prefix=determine_prefix,
bot.i18n.load("locale/")
asyncio.run(work_with_cogs('load', bot, cog_list()))
work_with_cogs('load', bot, cog_list())
@bot.event