Updated change_presence in mod command

doc_update
Etzelia 2018-08-29 11:21:24 -05:00 committed by GitHub
parent 8db428019f
commit e89c3cc766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class Admin_Commands:
"""
Updates "playing [game]" status of the bot.
"""
await self.bot.change_presence(game=Game(name=status))
await self.bot.change_presence(activity=Game(status))
await self.bot.say('{}, status has been changed'.format(ctx.message.author.mention))