|
@@ -13,7 +13,7 @@ class helpteam(commands.Cog):
|
|
|
async def help_team(self, ctx: discord.ApplicationContext):
|
|
async def help_team(self, ctx: discord.ApplicationContext):
|
|
|
server = ctx.guild
|
|
server = ctx.guild
|
|
|
|
|
|
|
|
- json_path = Path(__file__).resolve().parent / "json_files" / "help_team.json"
|
|
|
|
|
|
|
+ json_path = Path(__file__).resolve().parent.parent.joinpath("json_files", "help_team.json")
|
|
|
if not json_path.exists():
|
|
if not json_path.exists():
|
|
|
await ctx.respond("The .json file is missing.")
|
|
await ctx.respond("The .json file is missing.")
|
|
|
return
|
|
return
|