mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
🏗 - All extensions files moved to a new folder "ext"
This commit is contained in:
+2
-1
@@ -38,8 +38,9 @@ async def unloadext(ctx, extension):
|
||||
bot.unload_extension(extension)
|
||||
await ctx.send("Extension unloaded.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
for extension in startup_extensions:
|
||||
bot.load_extension(extension)
|
||||
bot.load_extension('ext.' + extension)
|
||||
print('Extension "' + str(extension) + '" loaded.')
|
||||
bot.run(TOKEN_BOT)
|
||||
|
||||
Reference in New Issue
Block a user