V1.0 working version
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
|
||||
def setup(bot):
|
||||
for filename in os.listdir(os.path.dirname(__file__)):
|
||||
if filename.endswith(".py") and not filename.startswith("_"):
|
||||
bot.load_extension(f"bot.cogs.{filename[:-3]}")
|
||||
print(f"Załadowano: {filename[:-3]}")
|
||||
Reference in New Issue
Block a user