diff options
| author | 2021-08-16 10:41:48 -0500 | |
|---|---|---|
| committer | 2021-08-16 10:41:48 -0500 | |
| commit | 6190278321112cf131485a4791e4711f27bd7952 (patch) | |
| tree | 07c04711b3839ad93700e75526722ea6608fcdfc | |
| parent | Merged .reverse into one command and made reversing the users profile picture... (diff) | |
lint fix because precommit didn't run
| -rw-r--r-- | bot/exts/evergreen/avatar_modification/avatar_modify.py | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/bot/exts/evergreen/avatar_modification/avatar_modify.py b/bot/exts/evergreen/avatar_modification/avatar_modify.py index ccbefbd7..5decfce4 100644 --- a/bot/exts/evergreen/avatar_modification/avatar_modify.py +++ b/bot/exts/evergreen/avatar_modification/avatar_modify.py @@ -122,10 +122,12 @@ class AvatarModify(commands.Cog):          await ctx.send(embed=embed, file=file)      @avatar_modify.command(name="reverse", root_aliases=("reverse",)) -    async def reverse(self, ctx: commands.Context, *, text: t.Optional[str]): -        """Reverses the sent text. -         -        If no text is provided, the user's profile picture will be reversed.""" +    async def reverse(self, ctx: commands.Context, *, text: t.Optional[str]) -> None: +        """ +        Reverses the sent text. + +        If no text is provided, the user's profile picture will be reversed. +        """          if not text:              async with ctx.typing():                  user = await self._fetch_user(ctx.author.id) | 
