diff --git a/MIGRATION.md b/MIGRATION.md index 7c1a676..98672a2 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -61,9 +61,11 @@ async def get_stats(): ### Became: ```py async def get_stats(): - return {"servers": len(bot.guilds), "shards": 0, "members": len(bot.users)} + return {"servers": len(bot.guilds), "shards": None, "members": len(bot.users)} ``` +p.s. None of the values must be equal to `0`. Specify `None` instead of `0`. + ## Webhook or websocket... that is the question Webhooks are no longer supported in boticordpy. You can find guide how to use boticord websocket [here](https://github.com/boticord/boticordpy/blob/master/examples/websocket.py).