Skip to content

Commit

Permalink
bump version to 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grey-cat-1908 committed Sep 10, 2022
1 parent 35dbb2a commit def946b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boticordpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "Marakarka"
__license__ = "MIT"
__copyright__ = "Copyright 2022 Marakarka"
__version__ = "2.2.2a"
__version__ = "2.2.2"

from .client import BoticordClient
from .webhook import Webhook
Expand Down
4 changes: 2 additions & 2 deletions boticordpy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = "Victor Kotlin (Marakarka)"

# The full version, including alpha/beta/rc tags
release = "2.2.2a"
release = "2.2.2"


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit def946b

Please sign in to comment.