From ea4f7e33e8c5c23fd59ce488978e3b43dc502c1e Mon Sep 17 00:00:00 2001 From: MadCat9958 Date: Sun, 4 Jun 2023 12:41:25 +0300 Subject: [PATCH] fix --- boticordpy/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boticordpy/http.py b/boticordpy/http.py index bac1f75..a0f2776 100644 --- a/boticordpy/http.py +++ b/boticordpy/http.py @@ -55,7 +55,7 @@ class HttpClient: def post_bot_stats(self, bot_id: typing.Union[str, int], stats: dict): """Post bot's stats""" - return self.make_request("POST", f"bots/{bot_id}", json=stats) + return self.make_request("POST", f"bots/{bot_id}/stats", json=stats) def get_server_info(self, server_id: int): """Get information about specified server"""