Przeglądaj źródła

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

baumsplitter41 4 miesięcy temu
rodzic
commit
72d9aef57d
1 zmienionych plików z 1 dodań i 1 usunięć
  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