From 7e2748cb2a522542ec70f41dad6b29131d79966d Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Thu, 17 Feb 2022 19:35:54 +0300 Subject: [PATCH] fix example, heh --- README.md | 1 + boticordpy/__init__.py | 2 +- docs/source/quickstart.rst | 1 + examples/autopost.py | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ece884d..f248571 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ You can find other examples in an examples folder. boticord_client.autopost() .init_stats(get_stats) .on_success(on_success_posting) + .start() ) bot.run("bot token") diff --git a/boticordpy/__init__.py b/boticordpy/__init__.py index 9e2bd5c..1c2de2a 100644 --- a/boticordpy/__init__.py +++ b/boticordpy/__init__.py @@ -10,7 +10,7 @@ __title__ = 'boticordpy' __author__ = 'Marakarka' __license__ = 'MIT' __copyright__ = 'Copyright 2022 Marakarka' -__version__ = '2.0.0' +__version__ = '2.0.1' from .client import BoticordClient from .webhook import Webhook diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 6bf7675..c6aa9f2 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -52,6 +52,7 @@ Examples boticord_client.autopost() .init_stats(get_stats) .on_success(on_success_posting) + .start() ) bot.run("bot token") diff --git a/examples/autopost.py b/examples/autopost.py index 849d1ae..0557059 100644 --- a/examples/autopost.py +++ b/examples/autopost.py @@ -20,6 +20,7 @@ autopost = ( boticord_client.autopost() .init_stats(get_stats) .on_success(on_success_posting) + .start() ) bot.run("bot token")