From fb960f4217533b3d4d3c3713fd3c8d431851fe21 Mon Sep 17 00:00:00 2001 From: Victor Kotlin Date: Thu, 9 Sep 2021 17:27:12 +0300 Subject: [PATCH] update post stats method --- boticordpy/modules/bots.py | 2 +- docs/conf.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boticordpy/modules/bots.py b/boticordpy/modules/bots.py index 21d4149..bf535f9 100644 --- a/boticordpy/modules/bots.py +++ b/boticordpy/modules/bots.py @@ -78,7 +78,7 @@ class Bots: if not self.token: return "Require Authentication" headers = {"Authorization": self.token} - async with self.session.post(f'{Config.local_api}/stats', headers=headers, json=stats) as resp: + async with self.session.post(f'{Config.general_api}/stats', headers=headers, json=stats) as resp: data = await _json_or_text(resp) status = Config.http_exceptions.get(resp.status) if status is not None: diff --git a/docs/conf.py b/docs/conf.py index 01f6523..07ca79c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ copyright = '2021, Grey Cat' author = 'Grey Cat' # The full version, including alpha/beta/rc tags -release = '1.3.2' +release = '1.3.6' # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index d0bee38..fbc5c42 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ README = (HERE / "README.md").read_text(encoding="utf8") setup( name="boticordpy", packages = ['boticordpy', 'boticordpy.modules'], - version="1.3.5.1", + version="1.3.6", description="Simple Python Module for boticord api", long_description=README, long_description_content_type="text/markdown",