mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-14 12:27:28 +03:00
bump version to 2.2.2
This commit is contained in:
parent
35dbb2a6b8
commit
def946b062
3 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ __title__ = "boticordpy"
|
||||||
__author__ = "Marakarka"
|
__author__ = "Marakarka"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
__copyright__ = "Copyright 2022 Marakarka"
|
__copyright__ = "Copyright 2022 Marakarka"
|
||||||
__version__ = "2.2.2a"
|
__version__ = "2.2.2"
|
||||||
|
|
||||||
from .client import BoticordClient
|
from .client import BoticordClient
|
||||||
from .webhook import Webhook
|
from .webhook import Webhook
|
||||||
|
|
|
@ -20,14 +20,14 @@ class BoticordClient:
|
||||||
token (:obj:`str`)
|
token (:obj:`str`)
|
||||||
Your bot's Boticord API Token.
|
Your bot's Boticord API Token.
|
||||||
version (:obj:`int`)
|
version (:obj:`int`)
|
||||||
BotiCord API version
|
BotiCord API version (Default: 2)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__slots__ = ("http", "_autopost", "_token")
|
__slots__ = ("http", "_autopost", "_token")
|
||||||
|
|
||||||
http: HttpClient
|
http: HttpClient
|
||||||
|
|
||||||
def __init__(self, token: str = None, version: int = 1):
|
def __init__(self, token: str = None, version: int = 2):
|
||||||
self._token = token
|
self._token = token
|
||||||
self._autopost: typing.Optional[AutoPost] = None
|
self._autopost: typing.Optional[AutoPost] = None
|
||||||
self.http = HttpClient(token, version)
|
self.http = HttpClient(token, version)
|
||||||
|
|
|
@ -27,7 +27,7 @@ copyright = "2022, Victor Kotlin (Marakarka)"
|
||||||
author = "Victor Kotlin (Marakarka)"
|
author = "Victor Kotlin (Marakarka)"
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = "2.2.2a"
|
release = "2.2.2"
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue