From 69ecfc5f62a0b76e23187e4a2d8c23bb6764b970 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 5 Apr 2020 23:50:58 +0300 Subject: [PATCH] Cox: Clean content before showing --- cogs/imagemanip.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cogs/imagemanip.py b/cogs/imagemanip.py index e9db782..c9aed56 100644 --- a/cogs/imagemanip.py +++ b/cogs/imagemanip.py @@ -21,6 +21,8 @@ class ImageManip(Cog): """Gives a cox headline""" mention = ctx.author.mention + headline = await commands.clean_content().convert(ctx, headline, fix_channel_mentions=True) + in_vice = "assets/motherboardlogo.png" in_byjcox = "assets/byjcox.png" font_path = "assets/neue-haas-grotesk-display-bold-regular.otf" @@ -30,7 +32,7 @@ class ImageManip(Cog): vertpos = 75 line_spacing = 10 font_size = 50 - image_width = 750 + image_width = 800 font_wrap_count = 30 sig_height = 15