mirror of
https://github.com/kurbezz/utility-bot.git
synced 2025-12-06 08:35:36 +01:00
Update
This commit is contained in:
@@ -58,9 +58,9 @@ async def message_handler(message: types.Message):
|
|||||||
await message.answer('This is not a text message')
|
await message.answer('This is not a text message')
|
||||||
return
|
return
|
||||||
|
|
||||||
tiktok_link = re.search(r'https://vt.tiktok.com/.+/', message.text)
|
tiktok_link = re.search(r'https://', message.text)
|
||||||
if tiktok_link is None:
|
if tiktok_link is None:
|
||||||
await message.answer('This is not a TikTok link')
|
await message.answer('This is not a link')
|
||||||
return
|
return
|
||||||
|
|
||||||
await message.answer('Downloading...')
|
await message.answer('Downloading...')
|
||||||
|
|||||||
Reference in New Issue
Block a user