Discord.py: Status update

Created on 21 Aug 2018  路  2Comments  路  Source: Rapptz/discord.py

Hey, is there an option to let the bot update the status after an x amount of seconds?
I'm asking this because my bot has a bot.get_all_members feature in the status and if it stands in async def on_ready(): it doesn't update the member count.

Most helpful comment

As you've been told repeatedly, GitHub issues are not the proper place for asking for help using the library. They are for issues with the library itself. For further help, you should join either the official discord.py server or the Discord API server, as the README recommends.

All 2 comments

You can run it in a background task
Make sure it doesn't update too often, as this is considered API abuse.

As you've been told repeatedly, GitHub issues are not the proper place for asking for help using the library. They are for issues with the library itself. For further help, you should join either the official discord.py server or the Discord API server, as the README recommends.

Was this page helpful?
0 / 5 - 0 ratings