Proxitok makes it possible to view Tiktok links in a privacy-respecting client.

For example, take this video: https://vm.tiktok.com/ZIJW68vcC/
We can redirect it to a Proxitok instance (from this list, for example), and we get this: https://proxitok.pabloferreiro.es/redirect/search?term=https://vm.tiktok.com/ZIJW68vcC/&type=url

The necessary code for this bot action would be:

[[reply]]
regex = '((?:https://)?(?:vm|www)\.tiktok\.com/[\w\d?@&=%/-]*)'
msg = '''
#(len(matches) == 1 ? "A Tiktok link was" : "Tiktok links were") detected in your #(type). Here are links to the same #(len(matches) == 1 ? "video" : "videos") on Proxitok, which is a Tiktok frontend that protects your privacy:

#for(i, match in matches):
#if(len(matches) > 1):Link #(i+1):#!if
- [proxitok.pabloferreiro.es](https://proxitok.pabloferreiro.es/redirect/search?term=#(match[1])&type=url)
- [proxitok.pussthecat.org](https://proxitok.pussthecat.org/redirect/search?term=#(match[1])&type=url)
- [proxitok.privacydev.net](https://proxitok.privacydev.net/redirect/search?term=#(match[1])&type=url)

#!for
'''

E: Wasn’t really sure where to post this so I defaulted to here 😅
Also I haven’t tested it, but I checked it on regex101 and it’s correct