$0.01

How do add Bot Status in Discord.py?

Ask a question+
1

I have been working on a Discord Bot which is based on Python, and I want to add a Custom Status, like Idle or Online. Please Help me. Its perfectly okay if it says Playing xxxxx. All I need is to make a status.

add comment

1 Answer

1
async def on_ready():
    game = discord.Game("Drinking water")
    await bot.change_presence(status=discord.Status.online, activity=game)
iazid 10

Thanks a lot for helping me!

JetPack Inc
add comment

Your Answer