correct message
This commit is contained in:
parent
90e5d6a1e9
commit
4234730041
1 changed files with 3 additions and 2 deletions
|
@ -210,8 +210,9 @@ class Internet(commands.Cog):
|
||||||
if "tiktok.com" not in url:
|
if "tiktok.com" not in url:
|
||||||
return
|
return
|
||||||
url_embed = url.replace("tiktok.com", "dstn.to")
|
url_embed = url.replace("tiktok.com", "dstn.to")
|
||||||
|
mergeUrls = f"{url_embed} | <{url}>"
|
||||||
if message.content == url.replace(" ", ""):
|
if message.content == url.replace(" ", ""):
|
||||||
await message.channel.send(f"Tiktok partagé par {message.author.mention} • {url_embed} | <{url}>")
|
await message.channel.send(f"Tiktok partagé par {message.author.mention} • {mergeUrls}")
|
||||||
await message.delete()
|
await message.delete()
|
||||||
else:
|
else:
|
||||||
await message.reply(f"⬇ {url_embed} ⬇", mention_author = False)
|
await message.reply(f"⬇ {mergeUrls} ⬇", mention_author = False)
|
||||||
|
|
Reference in a new issue