Quellcode durchsuchen

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

baumsplitter41 vor 4 Monaten
Ursprung
Commit
72d9aef57d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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