update path
This commit is contained in:
parent
37a17b8095
commit
f6d911b137
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ customPrefix = environ['PREFIX']
|
||||||
client = commands.Bot(command_prefix = customPrefix, case_insensitive = True, intents = discord.Intents.all())
|
client = commands.Bot(command_prefix = customPrefix, case_insensitive = True, intents = discord.Intents.all())
|
||||||
slash = SlashCommand(client, sync_commands = True)
|
slash = SlashCommand(client, sync_commands = True)
|
||||||
|
|
||||||
for file in listdir("src/cogs"):
|
for file in listdir("cogs"):
|
||||||
if file.endswith(".py") and file.startswith("-") == False:
|
if file.endswith(".py") and file.startswith("-") == False:
|
||||||
client.load_extension(f"cogs.{file[:-3]}")
|
client.load_extension(f"cogs.{file[:-3]}")
|
||||||
print("Terminé !")
|
print("Terminé !")
|
||||||
|
|
Reference in a new issue