Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
6

Discord Bot Status Python

NightmareTaken
NightmareTaken

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

2 years ago

Voters

Comments

TopNew
1
JBloves27
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!

2 years ago
1
NightmareTaken
NightmareTaken

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

2 years ago
1
JBloves27
JBloves27

hmmm, could you show repl?

@NightmareTaken

2 years ago
Load more