diff --git a/README.md b/README.md index 39a83b1..c79f0bd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ boticord = BoticordClient(bot, "your-boticord-token") @bot.event async def on_ready(): stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)} - await boticord.Bots.postStats(stats) + await boticord.Bots.post_stats(stats) bot.run("your-bot-token") @@ -58,7 +58,7 @@ class BoticordCog(commands.Cog): This commands can be used by owner to post stats to boticord """ stats = {"servers": len(self.bot.guilds), "shards": 0, "users": len(self.bot.users)} - await self.boticord.Bots.postStats(stats) + await self.boticord.Bots.post_stats(stats) def setup(bot): diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 47c806a..e0725ef 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -44,7 +44,7 @@ Post bot stats when bot is ready. @bot.event async def on_ready(): stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)} - await boticord.Bots.postStats(stats) + await boticord.Bots.post_stats(stats) bot.run("your-bot-token") @@ -75,7 +75,7 @@ Cog with automatically stats post (every 15 minutes) + bot's owner command that This commands can be used by owner to post stats to boticord """ stats = {"servers": len(self.bot.guilds), "shards": 0, "users": len(self.bot.users)} - await self.boticord.Bots.postStats(stats) + await self.boticord.Bots.post_stats(stats) def setup(bot): diff --git a/examples/example_cog.py b/examples/example_cog.py index 0836d0f..304ddef 100644 --- a/examples/example_cog.py +++ b/examples/example_cog.py @@ -16,7 +16,7 @@ class BoticordCog(commands.Cog): This commands can be used by owner to post stats to boticord """ stats = {"servers": len(self.bot.guilds), "shards": 0, "users": len(self.bot.users)} - await self.boticord.Bots.postStats(stats) + await self.boticord.Bots.post_stats(stats) def setup(bot): diff --git a/examples/postdata.py b/examples/postdata.py index 3d29c0b..7f2731a 100644 --- a/examples/postdata.py +++ b/examples/postdata.py @@ -9,7 +9,7 @@ boticord = BoticordClient(bot, "your-boticord-token") @bot.event async def on_ready(): stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)} - await boticord.Bots.postStats(stats) + await boticord.Bots.post_stats(stats) bot.run("your-bot-token")