This commit is contained in:
MadCat9958 2023-06-04 12:41:25 +03:00
parent b99954a597
commit ea4f7e33e8

View file

@ -55,7 +55,7 @@ class HttpClient:
def post_bot_stats(self, bot_id: typing.Union[str, int], stats: dict): def post_bot_stats(self, bot_id: typing.Union[str, int], stats: dict):
"""Post bot's stats""" """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): def get_server_info(self, server_id: int):
"""Get information about specified server""" """Get information about specified server"""