Jelajahi Sumber

fixing errors in help_team.

baumsplitter41 4 bulan lalu
induk
melakukan
e99d2ad321
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      VPD_BOT/cogs/help_team.py

+ 3 - 3
VPD_BOT/cogs/help_team.py

@@ -9,12 +9,12 @@ class helpteam(commands.Cog):
         self.bot = bot
 
 
-    @slash_command(name="help__team", description="Get Infos on how to join the Team")
-    async def help_how_to_team(self, ctx: discord.ApplicationContext):
+    @slash_command(name="help_team", description="Get Infos on how to join the Team")
+    async def help_team(self, ctx: discord.ApplicationContext):
         server = ctx.guild
 
         #Loading the JSON file
-        JSON_FILE_PATH = 'cogs/json_files/help_team.json'
+        JSON_FILE_PATH = '.cogs/json_files/help_team.json'
         if not os.path.exists(JSON_FILE_PATH):
             await ctx.respond("The help_team.json file is missing.")
             return