diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 9d6acbd..c0d686f 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -32,7 +32,7 @@ class Pterodactyl(commands.Cog): "Content-Type": "application/json", "Accept": "application/json" } - url = f"https://{await self.config.guild(guild).base_url}/api/client/servers/{await self.config.guild(guild).server_id}" + url = f"https://{await self.config.guild(guild).base_url()}/api/client/servers/{await self.config.guild(guild).server_id()}" if endpoint: url += '/' + endpoint async with aiohttp.ClientSession(url=url, headers=headers) as session: