get rid of the twitter embed thing

This commit is contained in:
Luke Robles 2022-09-24 13:32:21 -07:00
parent 1d979c06db
commit 59ff9cd9bc

View File

@ -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