diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index af3465a..8982f48 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -122,7 +122,7 @@ class Pterodactyl(commands.Cog): async def get_info(self, username: str) -> Optional[dict]: self.logger.debug("Retrieving player info for %s", username) - endpoint = await self.config.endpoint() + endpoint = await self.config.api_endpoint() async with aiohttp.ClientSession() as session: async with session.get(f"https://playerdb.co/api/player/{endpoint}/{username}") as response: if response.status == 200: