From b4a7f36126ea687b3fc6bcf7c54bf0271a42c47f Mon Sep 17 00:00:00 2001 From: MadCat9958 Date: Sat, 1 Jul 2023 13:02:10 +0300 Subject: [PATCH] update examples --- README.md | 2 +- examples/autopost.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc3edaa..c5287f6 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ bot = commands.Bot(command_prefix="!") # Function that will return the current bot's stats. async def get_stats(): - return {"servers": len(bot.guilds), "shards": 0, "users": len(bot.users)} + return {"guilds": len(bot.guilds), "shards": 0, "members": len(bot.users)} # Function that will be called if stats are posted successfully. diff --git a/examples/autopost.py b/examples/autopost.py index 6d41e6f..1239635 100644 --- a/examples/autopost.py +++ b/examples/autopost.py @@ -10,7 +10,7 @@ bot = commands.Bot(command_prefix="!") # Function that will return the current bot's stats. async def get_stats(): - return {"servers": len(bot.guilds), "shards": 0, "users": len(bot.users)} + return {"guilds": len(bot.guilds), "shards": 0, "members": len(bot.users)} # Function that will be called if stats are posted successfully.