Skip to content
← Back to Community
Discord Bot Status Python
Profile icon
NightmareTaken

How do I add a status to my discord bot that I've coded in python?

Voters
Profile icon
Culinaria-da-Ma
Profile icon
miliukaskostas
Profile icon
matousprusa
Profile icon
FukreyGaming
Profile icon
NightmareTaken
Comments
hotnewtop
Profile icon
JBloves27

You should do the following:

async def on_ready(): activity = discord.Game(name="Netflix", type=3) await bot.change_presence(status=discord.Status.idle, activity=activity) print("Bot is ready!")

I hope this helps!

Profile icon
NightmareTaken

@JBYT27 It keeps saying bot is not defined. How should I go about definning it

Profile icon
JBloves27

hmmm, could you show repl? @NightmareTaken

Profile icon
NightmareTaken