diff options
author | 2021-04-23 11:48:09 +0300 | |
---|---|---|
committer | 2021-04-23 11:48:09 +0300 | |
commit | 4ad47d77a7ec0a4c0110aff17973a4b782296c6c (patch) | |
tree | 843051de8a09875f8df7c5ad4e615795c0ed4139 /bot/exts/evergreen/catify.py | |
parent | Reword Issues Comment (diff) | |
parent | Merge pull request #704 from python-discord/link-suppressing (diff) |
Merge branch 'main' into update-pr-template
Diffstat (limited to 'bot/exts/evergreen/catify.py')
-rw-r--r-- | bot/exts/evergreen/catify.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/catify.py b/bot/exts/evergreen/catify.py index ae8d54b6..d8a7442d 100644 --- a/bot/exts/evergreen/catify.py +++ b/bot/exts/evergreen/catify.py @@ -6,6 +6,7 @@ from discord import AllowedMentions, Embed, Forbidden from discord.ext import commands from bot.constants import Cats, Colours, NEGATIVE_REPLIES +from bot.utils import helpers class Catify(commands.Cog): @@ -74,7 +75,7 @@ class Catify(commands.Cog): else: string_list.insert(random.randint(0, len(string_list)), random.choice(Cats.cats)) - text = " ".join(string_list) + text = helpers.suppress_links(" ".join(string_list)) await ctx.send( f">>> {text}", allowed_mentions=AllowedMentions.none() |