Updated change_presence to new rewrite format.

doc_update
Etzelia 2018-09-12 12:01:44 -05:00 committed by GitHub
parent af08269f56
commit c9aa6dcde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class GeoffreyBot(commands.Bot):
info = await self.application_info()
url = oauth_url(info.id)
logger.info("Bot url: %s", url)
await self.change_presence(game=Game(name=self.default_status))
await self.change_presence(activity=Game(self.default_status))
async def on_command(self, command, ctx):
if ctx.invoked_subcommand is None: