mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-11 19:07:29 +03:00
fix example, heh
This commit is contained in:
parent
e436929f97
commit
7e2748cb2a
4 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue