Kaynağa Gözat

fixing on the cogs import

BaumSplitter41 4 ay önce
ebeveyn
işleme
df5fb55c74
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      VPD_BOT/main.py

+ 2 - 1
VPD_BOT/main.py

@@ -134,7 +134,8 @@ async def load_extensions():
     for filename in os.listdir(cogs_dir):
         if filename.endswith(".py"):
             module_name = os.path.splitext(filename)[0]
-            bot.load_extension(f"cogs.{module_name}")   
+            print(module_name)
+            bot.load_extension(f"cogs.{module_name}")