diff --git a/cogs/chunithm/kamaitachi.py b/cogs/chunithm/kamaitachi.py index 6e348b5..830f320 100644 --- a/cogs/chunithm/kamaitachi.py +++ b/cogs/chunithm/kamaitachi.py @@ -122,6 +122,8 @@ async def kamaitachi_link(self, ctx: Context, token: Optional[str] = None): if result is not None: raise commands.BadArgument(result) + content = "Successfully linked with Kamaitachi." + async with self.bot.begin_db_session() as session, session.begin(): if cookie is None: cookie = Cookie( @@ -132,14 +134,15 @@ async def kamaitachi_link(self, ctx: Context, token: Optional[str] = None): cookie.kamaitachi_token = token await session.merge(cookie) + content += ( + "\nYou can now use `c>kamaitachi sync` to sync your recent scores.\n" + "\n" + "**It is recommended that you run `c>kamaitachi sync` to sync your recent scores first, " + "before syncing your personal bests with `c>kamaitachi sync pb`.**" + ) + return await ctx.reply( - content=( - "Successfully linked with Kamaitachi.\n" - "You can now use `c>kamaitachi sync` to sync your recent scores.\n" - "\n" - "**It is recommended that you run `c>kamaitachi sync` to sync your recent scores first, " - "before syncing your personal bests with `c>kamaitachi sync pb`.**" - ), + content=content, mention_author=False, )