diff options
| author | 2021-05-15 17:34:11 -0400 | |
|---|---|---|
| committer | 2021-05-15 17:34:11 -0400 | |
| commit | 0285da6cae32bb5986111477bbd4d61e723005f3 (patch) | |
| tree | a888762bcd97704f57ad33e8e1bd0d179c3abd2b /bot | |
| parent | chore: Add Iceman's suggested changes (diff) | |
chore: Apply Iceman's suggestions
Co-authored-by: Rohan Reddy Alleti <[email protected]>
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/exts/easter/egg_decorating.py | 2 | ||||
| -rw-r--r-- | bot/exts/evergreen/avatar_modification/_effects.py | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/easter/egg_decorating.py b/bot/exts/easter/egg_decorating.py index d4b27b20..fd7620d4 100644 --- a/bot/exts/easter/egg_decorating.py +++ b/bot/exts/easter/egg_decorating.py @@ -44,7 +44,7 @@ class EggDecorating(commands.Cog):      @commands.command(aliases=("decorateegg",))      async def eggdecorate(          self, ctx: commands.Context, *colours: Union[discord.Colour, str] -    ) -> Union[Image.Image, discord.Message]: +    ) -> Union[Image.Image, None]:          """          Picks a random egg design and decorates it using the given colours. diff --git a/bot/exts/evergreen/avatar_modification/_effects.py b/bot/exts/evergreen/avatar_modification/_effects.py index cd798fc2..b53b26f3 100644 --- a/bot/exts/evergreen/avatar_modification/_effects.py +++ b/bot/exts/evergreen/avatar_modification/_effects.py @@ -273,7 +273,7 @@ class PfpEffects:      @staticmethod      def mosaic_effect(img_bytes: bytes, squares: int, file_name: str) -> discord.File: -        """Seperate function run from an executor which turns an image into a mosaic.""" +        """Separate function run from an executor which turns an image into a mosaic."""          avatar = Image.open(BytesIO(img_bytes))          avatar = avatar.convert("RGBA").resize((1024, 1024)) | 
