mirror of
https://github.com/boticord/boticordpy.git
synced 2024-09-22 19:32:01 +03:00
update examples
This commit is contained in:
parent
664b12b931
commit
b4a7f36126
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue