#Migrate TextReplace data to another

1 messages ยท Page 1 of 1 (latest)

livid zenith
#
await Vencord.Api.DataStore.set("TextReplace_rulesRegex", [{"find":"http(?:s)?://(?:www\\.)?instagram\\.com/(reel)","replace":"https://www.instagramez.com/$1","onlyIfIncludes":""},{"find":"(https:\\/\\/)x\\.com(\\/[^/]+\\/[^/]+)(\\$?.*)?$","replace":"$1d.fixupx.com$2$3/en","onlyIfIncludes":""},{"find":"pixiv\\.net","replace":"fxpixiv.net","onlyIfIncludes":"/artworks/"},{"find":"https?:\\/\\/(?:clips\\.twitch\\.tv|(?:www\\.)?twitch\\.tv\\/\\w+\\/clip)\\/([A-Za-z0-9\\-_]+)","replace":"https://clips.fxtwitch.tv/$1","onlyIfIncludes":""},{"find":"((legacy|www)\\.)?curseforge\\.com","replace":"cflookup.com","onlyIfIncludes":"mod"},{"find":"http(?:s)?://(?:[\\w-]+?\\.)?reddit\\.com","replace":"https://rxddit.com","onlyIfIncludes":""},{"find":"","replace":"","onlyIfIncludes":""}])```why does this give a syntax error?
vernal marsh
#

Yeah no don't share the error

visual fossil
livid zenith
livid zenith
#

๐Ÿ˜”

livid zenith
#

seems to work now

neat crescent
#

no way to easily import this into mobile, huh?