Merge pull request #7 from Etzelia/patch-5
Updated change_presence to new rewrite format.doc_update
commit
212e131b42
|
@ -59,7 +59,7 @@ class GeoffreyBot(commands.Bot):
|
||||||
info = await self.application_info()
|
info = await self.application_info()
|
||||||
url = oauth_url(info.id)
|
url = oauth_url(info.id)
|
||||||
logger.info("Bot url: %s", url)
|
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):
|
async def on_command(self, command, ctx):
|
||||||
if ctx.invoked_subcommand is None:
|
if ctx.invoked_subcommand is None:
|
||||||
|
|
Loading…
Reference in New Issue