Cox: Clean content before showing

This commit is contained in:
Ave Ozkal 2020-04-05 23:50:58 +03:00
parent c05811e8f4
commit 69ecfc5f62
No known key found for this signature in database
GPG key ID: 398DD7BD03276F6D

View file

@ -21,6 +21,8 @@ class ImageManip(Cog):
"""Gives a cox headline""" """Gives a cox headline"""
mention = ctx.author.mention mention = ctx.author.mention
headline = await commands.clean_content().convert(ctx, headline, fix_channel_mentions=True)
in_vice = "assets/motherboardlogo.png" in_vice = "assets/motherboardlogo.png"
in_byjcox = "assets/byjcox.png" in_byjcox = "assets/byjcox.png"
font_path = "assets/neue-haas-grotesk-display-bold-regular.otf" font_path = "assets/neue-haas-grotesk-display-bold-regular.otf"
@ -30,7 +32,7 @@ class ImageManip(Cog):
vertpos = 75 vertpos = 75
line_spacing = 10 line_spacing = 10
font_size = 50 font_size = 50
image_width = 750 image_width = 800
font_wrap_count = 30 font_wrap_count = 30
sig_height = 15 sig_height = 15