fixed start after move

This commit is contained in:
bacon
2024-03-18 00:19:14 +03:00
parent 3048bf1f51
commit 29246e7b97
9 changed files with 18 additions and 18 deletions

View File

@@ -7,13 +7,14 @@ work_with_cogs: loads, reloads and unloads cogs files
"""
from os import listdir, rename
from typing import List
from disnake.ext.commands.interaction_bot_base import InteractionBotBase
from .Logger import logger
def cog_list(fold: str = './cogs') -> list:
def cog_list(fold: str = './cogs') -> List[str]:
cogs_list = []
for _filename in listdir(fold):
if _filename.endswith('.py'):