bump version to 2.2.2

This commit is contained in:
grey-cat-1908 2022-09-10 16:35:56 +03:00
parent 35dbb2a6b8
commit def946b062
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ __title__ = "boticordpy"
__author__ = "Marakarka"
__license__ = "MIT"
__copyright__ = "Copyright 2022 Marakarka"
__version__ = "2.2.2a"
__version__ = "2.2.2"
from .client import BoticordClient
from .webhook import Webhook

View file

@ -20,14 +20,14 @@ class BoticordClient:
token (:obj:`str`)
Your bot's Boticord API Token.
version (:obj:`int`)
BotiCord API version
BotiCord API version (Default: 2)
"""
__slots__ = ("http", "_autopost", "_token")
http: HttpClient
def __init__(self, token: str = None, version: int = 1):
def __init__(self, token: str = None, version: int = 2):
self._token = token
self._autopost: typing.Optional[AutoPost] = None
self.http = HttpClient(token, version)

View file

@ -27,7 +27,7 @@ copyright = "2022, Victor Kotlin (Marakarka)"
author = "Victor Kotlin (Marakarka)"
# The full version, including alpha/beta/rc tags
release = "2.2.2a"
release = "2.2.2"
# -- General configuration ---------------------------------------------------