fix example, heh

This commit is contained in:
grey-cat-1908 2022-02-17 19:35:54 +03:00
parent e436929f97
commit 7e2748cb2a
4 changed files with 4 additions and 1 deletions

View file

@ -67,6 +67,7 @@ You can find other examples in an examples folder.
boticord_client.autopost() boticord_client.autopost()
.init_stats(get_stats) .init_stats(get_stats)
.on_success(on_success_posting) .on_success(on_success_posting)
.start()
) )
bot.run("bot token") bot.run("bot token")

View file

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

View file

@ -52,6 +52,7 @@ Examples
boticord_client.autopost() boticord_client.autopost()
.init_stats(get_stats) .init_stats(get_stats)
.on_success(on_success_posting) .on_success(on_success_posting)
.start()
) )
bot.run("bot token") bot.run("bot token")

View file

@ -20,6 +20,7 @@ autopost = (
boticord_client.autopost() boticord_client.autopost()
.init_stats(get_stats) .init_stats(get_stats)
.on_success(on_success_posting) .on_success(on_success_posting)
.start()
) )
bot.run("bot token") bot.run("bot token")