Change Discord Bot Presence Py

[Solved] Change Discord Bot Presence Py | Python - Code Explorer | yomemimo.com
Question : change discord bot presence py

Answered by : dylan-barrett

# 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"))

Source : https://stackoverflow.com/questions/59126137/how-to-change-discord-py-bot-status | Last Update : Fri, 22 May 20

Answers related to change discord bot presence py

Code Explorer Popular Question For Python