diff --git a/examples/autopost.py b/examples/autopost.py index ac370f2..6d41e6f 100644 --- a/examples/autopost.py +++ b/examples/autopost.py @@ -15,15 +15,17 @@ async def get_stats(): # Function that will be called if stats are posted successfully. async def on_success_posting(): - print("stats posting successfully") + print("wow stats posting works") -boticord_client = BoticordClient("Bot your_api_token", version=2) +boticord_client = BoticordClient( + "your_boticord_api_token", version=3 +) # <--- BotiCord API token autopost = ( boticord_client.autopost() .init_stats(get_stats) .on_success(on_success_posting) - .start() + .start("id_of_your_bot") # <--- ID of your bot ) -bot.run("bot token") +bot.run("bot token") # <--- Discord bot's token diff --git a/setup.py b/setup.py index 9da7f02..63e80aa 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ setup( description="A Python wrapper for BotiCord API", long_description=README, long_description_content_type="text/markdown", - include_package_data=True, + include_package_data=True, url="https://github.com/boticord/boticordpy", author="Marakarka", author_email="support@kerdoku.top",