A discord bot for replacing/trimming common links with more appropriate versions.
Message embeds are hidden when possible.
- Twitter links are replaced with fxtwitter links (bot hides original message's embed)
- media.discordapp.net links are replaced with cdn.discordapp.com (bot does nothing to the original message, for now)
- Amazon product links are trimmed down to the bare minimum required to visit the product page (hides link embed)
- Reddit links are trimmed of trackers, and replaced with rxddit
- Instagram links are embedded using ddinstagram.com, removing any link trackers (only works for reels)
- TikTok links are stripped of trackers and embedded
https://twitter.com/blablabla/status/12345678910?cheese=doodles
Turns into
https://fxtwitter.com/blablabla/status/12345678910
https://media.discordapp.net/attachments/483348725704556557/1065345579762335915/v12044gd0000cf3g5rrc77u1ikgnhp8g.mp4
Turns into
https://cdn.discordapp.com/attachments/483348725704556557/1065345579762335915/v12044gd0000cf3g5rrc77u1ikgnhp8g.mp4
https://www.amazon.co.uk/dp/B09B1HMJ9Z/ref=as_li_ss_tl?ie=UTF8&smid=ATVPDKIKX0DER&th=1&linkCode=sl1&tag=sec2002-20
https://www.amazon.com/dp/B09B1HMJ9Z/ref=as_li_ss_tl?ie=UTF8&smid=ATVPDKIKX0DER&th=1&linkCode=sl1&tag=sec2002-20
Turns into
https://www.amazon.co.uk/dp/B09B1HMJ9Z
https://www.amazon.com/dp/B09B1HMJ9Z
https://www.reddit.com/r/truetf2/comments/107nizk/what_makes_a_lot_of_the_configuration/?utm_medium=ios_app
Turns into
https://rxddit.com/r/truetf2/comments/107nizk/what_makes_a_lot_of_the_configuration/
https://www.instagram.com/reel/CztdYC8ryw7/?igshid=abcdefghujkl==
Turns into
https://insta.trybefore.dev/reel/CztdYC8ryw7
https://vm.tiktok.com/ZM6BdBuuY/
Turns into
https://www.vxtiktok.com/@crowndefend/video/7311691285578943776
and
https://www.tiktok.com/@crowndefend/video/7311691285578943776
Turns into
https://www.vxtiktok.com/@crowndefend/video/7311691285578943776