diff --git a/src/main.py b/src/main.py index bcdead2..5d6bbff 100644 --- a/src/main.py +++ b/src/main.py @@ -1,7 +1,8 @@ -from twitchio.ext import commands from os import listdir -from utils.core import load + +from twitchio.ext import commands from utils.commands import CommandesDB +from utils.core import load class Client(commands.Bot): diff --git a/src/modules/commandes.py b/src/modules/commandes.py index 7abb434..e854522 100644 --- a/src/modules/commandes.py +++ b/src/modules/commandes.py @@ -1,6 +1,6 @@ from twitchio.ext import commands -from utils.core import load, listCommands from utils.commands import CommandesDB, existeCommande, existeTouteCommande +from utils.core import listCommands, load def prepare(client: commands.Bot): diff --git a/src/utils/commands.py b/src/utils/commands.py index e402b08..7293646 100644 --- a/src/utils/commands.py +++ b/src/utils/commands.py @@ -1,5 +1,5 @@ -from utils.db import Database from utils.core import listCommands +from utils.db import Database class CommandesDB(Database): diff --git a/src/utils/core.py b/src/utils/core.py index 38d500e..5acd01b 100644 --- a/src/utils/core.py +++ b/src/utils/core.py @@ -1,7 +1,8 @@ from os import environ -from dotenv import load_dotenv from sys import exit +from dotenv import load_dotenv + def load(variables): """Load env variables"""