Ver código fonte

Fixing Module Names

BaumSplitter41 4 meses atrás
pai
commit
67c44e5517
3 arquivos alterados com 4 adições e 5 exclusões
  1. 2 2
      VPD_BOT/cogs/hello.py
  2. 2 2
      VPD_BOT/cogs/say.py
  3. 0 1
      VPD_BOT/main.py

+ 2 - 2
VPD_BOT/cogs/hello.py

@@ -3,7 +3,7 @@ from discord.ext import commands
 from discord.commands import slash_command
 
 
-class Base(commands.Cog):
+class Hello(commands.Cog):
     def __init__(self, bot: discord.Bot):
         self.bot = bot
 
@@ -13,4 +13,4 @@ class Base(commands.Cog):
 
 
 def setup(bot: discord.Bot):
-    bot.add_cog(Base(bot))
+    bot.add_cog(Hello(bot))

+ 2 - 2
VPD_BOT/cogs/say.py

@@ -4,7 +4,7 @@ from discord.commands import Option
 from discord.commands import slash_command
 
 
-class Base(commands.Cog):
+class Say(commands.Cog):
     def __init__(self, bot: discord.Bot):
         self.bot = bot
 
@@ -14,4 +14,4 @@ class Base(commands.Cog):
 
 
 def setup(bot: discord.Bot):
-    bot.add_cog(Base(bot))
+    bot.add_cog(Say(bot))

+ 0 - 1
VPD_BOT/main.py

@@ -131,7 +131,6 @@ async def load_extensions():
     cogs_dir = "cogs"
     if not os.path.exists(cogs_dir):
         return
-    print(cogs_dir)
     for filename in os.listdir(cogs_dir):
         if filename.endswith(".py"):
             cog_list = os.path.splitext(filename)[0]