When posting vxtwitter links (seemingly without video embeds), fambot would repost the "fixed" link with multiple modifications.
Ex:
Fix
This seemed to be due to 3 things
I was not aware of a modification for x.com links, so I had set their modification to vxtwitter to just replace the base url
In the for loop that checked for needed modifications, if x.com is found as the base url, it would replace it with twitter.com
Some links that sayvxtwitter or twitter are actually x.com links, so it would replace the modification within the already modified link
Removing the reassignment of the x.com base url in the for loop as well as finding out there is a link mod for x.com (fixv - fixvx.com) fixes the issue
Bug
When posting
vxtwitter
links (seemingly without video embeds), fambot would repost the "fixed" link with multiple modifications. Ex:Fix
This seemed to be due to 3 things
x.com
links, so I had set their modification tovxtwitter
to just replace the base urlx.com
is found as the base url, it would replace it withtwitter.com
vxtwitter
ortwitter
are actuallyx.com
links, so it would replace the modification within the already modified linkRemoving the reassignment of the
x.com
base url in the for loop as well as finding out there is a link mod forx.com
(fixv
-fixvx.com
) fixes the issue