update post stats method

This commit is contained in:
Victor Kotlin 2021-09-09 17:27:12 +03:00
parent 458183481d
commit fb960f4217
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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 ---------------------------------------------------

View file

@ -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",