diff options
| author | 2021-05-13 20:28:20 +0100 | |
|---|---|---|
| committer | 2021-05-13 20:28:20 +0100 | |
| commit | 196c435c586b3bc2d30aa6a9865b8d4498d9c5b8 (patch) | |
| tree | c9585d2a668d75bbbda0fab5c1b80962a9946bb7 /bot/exts/easter/egg_decorating.py | |
| parent | Remove redundant comments in bookmark cog (diff) | |
| parent | Merge pull request #727 from python-discord/reddit-revoke (diff) | |
Merge branch 'main' into bookmark-react-for-copy
Diffstat (limited to 'bot/exts/easter/egg_decorating.py')
| -rw-r--r-- | bot/exts/easter/egg_decorating.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/exts/easter/egg_decorating.py b/bot/exts/easter/egg_decorating.py index b18e6636..a847388d 100644 --- a/bot/exts/easter/egg_decorating.py +++ b/bot/exts/easter/egg_decorating.py @@ -10,6 +10,8 @@ import discord from PIL import Image from discord.ext import commands +from bot.utils import helpers + log = logging.getLogger(__name__) with open(Path("bot/resources/evergreen/html_colours.json"), encoding="utf8") as f: @@ -65,7 +67,7 @@ class EggDecorating(commands.Cog): if value: colours[idx] = discord.Colour(value) else: - invalid.append(colour) + invalid.append(helpers.suppress_links(colour)) if len(invalid) > 1: return await ctx.send(f"Sorry, I don't know these colours: {' '.join(invalid)}") |