If "discord did it" was a good metric, neither of us would be looking at this repository.
I'm up for having my mind changed, but I'd need some arguments in that case. For example, how would you stop someone from setting up thousands of regexes (probably across several communities) filled with compute-intensive recursive lookaheads, and then having their botnet spam messages in said communities, allowing them to nuke servers?
RexSystem1 voteoriginally by @AmilieDev on GitHub OP
If "discord did it" was a good metric, neither of us would be looking at this repository.
I'm up for having my mind changed, but I'd need some arguments in that case. For example, how would you stop someone from setting up thousands of regexes (probably across several communities) filled with compute-intensive recursive lookaheads, and then having their botnet spam messages in said communities, allowing them to nuke servers?
A regex is server side. It's per server.
Templates would be made by Fluxer themself.
I don't think Discord allows lookaheads I'm not a regex expert but this explains things well: discord/discord-api-docs#6860
Honestly, I thought discord rolled their own regex parser for that bit, which I was going to say seemed like a weird thing to spend time on for a project with a smaller userbase like this. But if it's a readily available and battle-tested rust crate, then sure. AFAIK there's no rust in the fluxer backend currently, so that might be a concern to look into as well (in terms of platform support, etc). There probably are packages for other languages, but they might not be as performant/battle tested.
A regex is server side. It's per server. Templates would be made by Fluxer themself.
All communities on the same server sharing the regex list seems like it would be a lot of headache for the main server in regards to slurs in other languages.
Speaking of, do regexes work well for pictographic languages? Or can you go around saying the n-word in chinese without (immediate) repercussions?
RexSystem1 voteoriginally by @AmilieDev on GitHub OP
> I don't think Discord allows lookaheads I'm not a regex expert but this explains things well: discord/discord-api-docs#6860
Honestly, I thought discord rolled their own regex parser for that bit, which I was going to say seemed like a weird thing to spend time on for a project with a smaller userbase like this. But if it's a readily available and battle-tested rust crate, then sure. AFAIK there's no rust in the fluxer backend currently, so that might be a concern to look into as well (in terms of platform support, etc). There probably are packages for other languages, but they might not be as performant/battle tested.
> A regex is server side. It's per server. Templates would be made by Fluxer themself.
All communities on the same server sharing the regex list seems like it would be a lot of headache for the main server in regards to slurs in other languages.
Speaking of, do regexes work well for pictographic languages? Or can you go around saying the n-word in chinese without (immediate) repercussions?
Server as in individual communities, look in Community settings on Discord > Safety > Regex.
Take a look at that, that's how it works.
I don't think you understand Automod.
Server as in individual communities, look in Community settings on Discord > Safety > Regex.
Take a look at that, that's how it works.
I don't think you understand Automod.
I have used it in discord, yes. I was just confused by your usage of "server" instead of "community", since they're two vastly different things.
EDIT: That means that your original reply doesn't answer the denial of service issue though, but I suppose @TheKodeToad answered that well enough.
Thread
Comment by @TheNamlessGuy
Comment by @AmilieDev
Comment by @TheNamlessGuy
Comment by @TheKodeToad
Comment by @AmilieDev
Comment by @TheNamlessGuy
Comment by @AmilieDev
Comment by @TheNamlessGuy