aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/catify.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-04-23 14:20:41 +0100
committerGravatar GitHub <[email protected]>2021-04-23 14:20:41 +0100
commit993a280155cc4ebb4c64ad244dce988552bb5f58 (patch)
tree61724efbe03e5356de6bd880bae32956e8caa7d1 /bot/exts/evergreen/catify.py
parentFix spelling of a user facing message in reddit cog (diff)
parentMerge pull request #704 from python-discord/link-suppressing (diff)
Merge branch 'main' into fix-reddit-index-error
Diffstat (limited to '')
-rw-r--r--bot/exts/evergreen/catify.py3
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()