From 3e4f9abc416860e76a45d1ad9a8cbb0a0dc449e4 Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 6 Jun 2024 19:10:03 +0300 Subject: [PATCH] kick fix --- player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.py b/player.py index 0609352..42ebc7c 100644 --- a/player.py +++ b/player.py @@ -230,7 +230,7 @@ class Player: async with aiohttp.ClientSession(cookies={ "secretkey":os.getenv("BACKEND_SECRETKEY"), "steam64": self.requester_steam64}) as session: - async with session.post(f"{os.getenv('BACKEND_URL')}/api/admin/kick?steam64={self.steam64}", ssl=False) as response: + async with session.post(f"{os.getenv('BACKEND_URL')}/api/admin/kick?steam64={self.steam64}&reason={reason}", ssl=False) as response: result = await response.text() if response.status == 200: return "Кикнут с серверов"