mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-11 19:07:29 +03:00
update post stats method
This commit is contained in:
parent
458183481d
commit
fb960f4217
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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 ---------------------------------------------------
|
||||
|
|
2
setup.py
2
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",
|
||||
|
|
Loading…
Reference in a new issue