From 9e826d6ba505879064df1bfed8c2263e8c1448f0 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 7 Mar 2024 02:39:49 -0500 Subject: [PATCH] misc(pterodactyl): testing something --- pterodactyl/websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/websocket.py b/pterodactyl/websocket.py index ece4020..716e3d8 100644 --- a/pterodactyl/websocket.py +++ b/pterodactyl/websocket.py @@ -134,7 +134,7 @@ async def retrieve_websocket_credentials(coginstance: Pterodactyl) -> Optional[d coginstance.task.cancel() raise ValueError("Pterodactyl server ID not set. Please set it using `[p]pterodactyl config serverid`.") - client = PterodactylClient(base_url, api_key, logger=logger).client + client = PterodactylClient(base_url, api_key).client coginstance.client = client websocket_credentials = client.servers.get_websocket(server_id) logger.debug("""Websocket connection details retrieved: