Bläddra i källkod

fixing that the json file path was incorrect and updating variable names for consistency.

baumsplitter41 4 månader sedan
förälder
incheckning
72d9aef57d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      VPD_BOT/cogs/help_team.py

+ 1 - 1
VPD_BOT/cogs/help_team.py

@@ -14,7 +14,7 @@ class helpteam(commands.Cog):
         server = ctx.guild
 
         #Loading the JSON file
-        JSON_FILE_PATH = '.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