format imports
This commit is contained in:
parent
aafde87ee2
commit
ba44ff7cd5
4 changed files with 7 additions and 5 deletions
|
@ -1,7 +1,8 @@
|
||||||
from twitchio.ext import commands
|
|
||||||
from os import listdir
|
from os import listdir
|
||||||
from utils.core import load
|
|
||||||
|
from twitchio.ext import commands
|
||||||
from utils.commands import CommandesDB
|
from utils.commands import CommandesDB
|
||||||
|
from utils.core import load
|
||||||
|
|
||||||
|
|
||||||
class Client(commands.Bot):
|
class Client(commands.Bot):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from twitchio.ext import commands
|
from twitchio.ext import commands
|
||||||
from utils.core import load, listCommands
|
|
||||||
from utils.commands import CommandesDB, existeCommande, existeTouteCommande
|
from utils.commands import CommandesDB, existeCommande, existeTouteCommande
|
||||||
|
from utils.core import listCommands, load
|
||||||
|
|
||||||
|
|
||||||
def prepare(client: commands.Bot):
|
def prepare(client: commands.Bot):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from utils.db import Database
|
|
||||||
from utils.core import listCommands
|
from utils.core import listCommands
|
||||||
|
from utils.db import Database
|
||||||
|
|
||||||
|
|
||||||
class CommandesDB(Database):
|
class CommandesDB(Database):
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
from os import environ
|
from os import environ
|
||||||
from dotenv import load_dotenv
|
|
||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
|
|
||||||
def load(variables):
|
def load(variables):
|
||||||
"""Load env variables"""
|
"""Load env variables"""
|
||||||
|
|
Loading…
Reference in a new issue