From 59ff9cd9bc233c4140aa2af91e4aa560c86b46b6 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sat, 24 Sep 2022 13:32:21 -0700 Subject: [PATCH] get rid of the twitter embed thing --- app/bot.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/bot.py b/app/bot.py index b25479a3..9bc2c1cc 100755 --- a/app/bot.py +++ b/app/bot.py @@ -50,20 +50,6 @@ async def fix_cdn_url(ctx): return -@bot.listen("on_message") -async def fix_twitter_url(ctx): - if "https://twitter.com" in ctx.content: - await ctx.delete() - await ctx.channel.send( - "%s said:\n\n%s" - % ( - ctx.author.mention, - ctx.content.replace("twitter.com", "fxtwitter.com"), - ) - ) - return - - @bot.listen("on_message") async def convert_heic_to_jpg(ctx): from cmagick import cmagick