fixed start after move
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user