diff options
| author | 2020-08-20 22:45:56 +0100 | |
|---|---|---|
| committer | 2020-08-20 22:45:56 +0100 | |
| commit | 09553df414dc225d2857c100a8cf02eaeeca4d47 (patch) | |
| tree | bf9a6e385785b6852602d0db4dc028efee856f5a | |
| parent | Temporarily remove message functionality from Fun (diff) | |
Update fun.py to satisfy the linter
| -rw-r--r-- | bot/exts/evergreen/fun.py | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/bot/exts/evergreen/fun.py b/bot/exts/evergreen/fun.py index b2c0aad9..0a5d22f9 100644 --- a/bot/exts/evergreen/fun.py +++ b/bot/exts/evergreen/fun.py @@ -47,9 +47,7 @@ class Fun(Cog):      @commands.command(name="uwu", aliases=("uwuwize", "uwuify",))      async def uwu_command(self, ctx: Context, *, text: str) -> None: -        """ -        Converts a given `text` into it's uwu equivalent. -        """ +        """Converts a given `text` into it's uwu equivalent."""          conversion_func = functools.partial(              utils.replace_many, replacements=UWU_WORDS, ignore_case=True, match_case=True          ) @@ -65,9 +63,7 @@ class Fun(Cog):      @commands.command(name="randomcase", aliases=("rcase", "randomcaps", "rcaps",))      async def randomcase_command(self, ctx: Context, *, text: str) -> None: -        """ -        Randomly converts the casing of a given `text`. -        """ +        """Randomly converts the casing of a given `text`."""          def conversion_func(text: str) -> str:              """Randomly converts the casing of a given string."""              return "".join( | 
