Update change_presence
Discord.py updated their method to use an activity instead. Based on their example, this should work.doc_update
parent
bc2ce78238
commit
8db428019f
|
@ -52,7 +52,7 @@ async def on_ready():
|
|||
info = await bot.application_info()
|
||||
url = oauth_url(info.id)
|
||||
logger.info("Bot url: %s", url)
|
||||
await bot.change_presence(game=Game(name=bot_config.status))
|
||||
await bot.change_presence(activity=Game(bot_config.status))
|
||||
|
||||
|
||||
@bot.event
|
||||
|
|
Loading…
Reference in New Issue