adding original link to the message but without embeding it
This commit is contained in:
parent
e78a5f371d
commit
7f98ae2793
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class Internet(commands.Cog):
|
||||||
return
|
return
|
||||||
url_embed = url.replace("tiktok.com", "dstn.to")
|
url_embed = url.replace("tiktok.com", "dstn.to")
|
||||||
if message.content == url.replace(" ", ""):
|
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()
|
await message.delete()
|
||||||
else:
|
else:
|
||||||
await message.reply(f"⬇ {url_embed} ⬇", mention_author = False)
|
await message.reply(f"⬇ {url_embed} ⬇", mention_author = False)
|
||||||
|
|
Reference in a new issue