adding original link to the message but without embeding it

This commit is contained in:
Mylloon 2021-11-08 21:21:08 +01:00
parent e78a5f371d
commit 7f98ae2793

View file

@ -211,7 +211,7 @@ class Internet(commands.Cog):
return
url_embed = url.replace("tiktok.com", "dstn.to")
if message.content == url.replace(" ", ""):
await message.channel.send(f"Tiktok partagé par {message.author.mention}{url.replace('tiktok.com', 'dstn.to')}")
await message.channel.send(f"Tiktok partagé par {message.author.mention}{url_embed} | <{url}>")
await message.delete()
else:
await message.reply(f"{url_embed}", mention_author = False)