discord.py change status

# Setting `Playing ` status
await bot.change_presence(activity=discord.Game(name="a game"))

# Setting `Streaming ` status
await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))

# Setting `Listening ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))

# Setting `Watching ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))

4
7
StevieP 95 points

                                    # Playing ____
await bot.change_presence(activity=discord.Game(name='Minecraft'))
# Streaming ____
await bot.change_presence(activity=discord.Streaming(name="Chess", url=twitch_url))
# Watching ____
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="Harry Potter"))
# Competing in ____
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.competing, name="the House Cup"))
# Listening to ____
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="!help"))

4 (7 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
discord change status bot python change status discord.py how to set a bots status python discord how to set discord status bot python' how to change the status in discord.py set status and activity discord bot python discord.py game status set status discord.py discord py get bot status give a discord bot a custom status python python bot status discord bot activity status python discord python status how to change status on discord.py how to set status in python discord discord.py status change discord py status update discord py get status python discord bot set custom status discord.status python status discord py discord py status function get status on discord py getting bots current status discord.py how to make a custom status for a discord bot py event when someone change there status discord.py discord bot how to change status py how to set status discordpy how to set status discord.py change status discordpy bot custom status discord py discord.py set status discord python status change python discord status changer How add status for discord.py discord py channge status how to set status of discord bot python discord.py set custom status set custom status discord.py change discord status python discord status changing discord.py Custom discord bot status python how to get bot status woth python on discord discord python bot set custom status custom changing status discord/[py get current status of a bot discord.py status bot discord python set discord bot status discord.py discord.status discord.py all statuses on discord.py how to make switching status discord.py how to set status for discord bot python discord.py custom status discord status python updater python discord bot custom status discord change bots status python get status discord bot python how to change a bot status discord.py discord set status bot py discord py status discord.py status discord.py python change status discord.py bot change status discord bot status set python python discord bot command to change status discord python bot custom status bot status discord python how to set a bot status discord.py set status discord bot python change status bot discord python status for bots discord.py set bot status=discord python discord bot custom status python change bot status discord py bot status python discored how to give my discord bot a statuspython python discord bot response discord bot status pythin set discord bot status python how to set my discord bot's status discord.py set status bot discord.py discord bot status check python how to set bot status discord.py discord set status python python discord bot add simple status how to set bot status discord python python discord set status dpython discord bot status how to set a discord bot's status python set bot discord status python discord py bot set status discord status python python discord status discord bot python status python discord bot change status status bot discord.py discord.py set bot status how to set the status of a discord python bot discord bot set custom status python discord py bot status pythno discord bot status how to set bot status on discord.py how set status to discord bot in python python discord bot custume status how to change a discord bot status python how to change your discord bot's status python discord.py bot status discord bot change status python discord bot playing status python how to set status in discord for a bot in python discord py how to set bot status discord bot set status python discord bot python how to check for a response how to make a discord bot play a game status python discord python bot status how to set discord bot status python python set bot status how to change bot status discord.py bot status discord.py how to change discord bot status python how to change the status of your discord bot python how to set a status for a bot discordpy member count in bot status discord.py how to change the status of a bot discord py discord.py get message python discord send message by id how tdo i take a channel they @ discord.py python discord bot set status send message when started discord.py how to change a discord bot status in pyton discord py message discord python event on direct message discord py on_message get all member discord bot on message python discord.py get url of message discord message python how do you change the status of you discord bot discord py send user message discord api python status discord.py watching members discord.py get attachment from context discord.py combine files how to set status on discord python python change discord game activity status set bot status discord py how to set status of bot in discord py set bot status discord.py discord python bot set status how to change bot status discord bot event send message python discord send python what does message.author return do in discord.py find channel discord.py on messages python discord how to get message author discord.py discord.py discord.util.get discord.py get_guild name change bot status discord.py how to set a discord bot status python set status discord.py bot discord py changing status discord.py change status set playing status discord.py status bot discord py discord.py how to set bot ststus how to set your bot's custom status discord.py how to set your bot's status discord.py set status discord py discord py set status discord.py change bot status discord bot python changing status discord.py how to change status python discord bot status helping change python discord bots status how to add status to discord bot python python discord bot database heroku discord bot status delay change discord bot status python discord python set status
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source