Uh oh!
There was an error while loading. Please reload this page.
Feature: AntiSpam module - #202
Conversation
Avanatiker
commented
Dec 21, 2025
It would be nice if we could decode the hard coded slurs into base64 |
emyfops
commented
Dec 21, 2025
Why ? |
Avanatiker
commented
Dec 21, 2025
It may trigger some code inspections and mark our repo as dangerous or some shit. also it broke AI suggestions didnt it xD |
emyfops
commented
Dec 21, 2025
idk github ai works |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
emyfops
commented
Dec 21, 2025
ok clanker |
Avanatiker
commented
Dec 21, 2025
It actually brings some good points |
pizzav-xyz
commented
Dec 21, 2025
clanker got marked as spam |
| val hex = sequenceOf("\\s([A-Fa-f0-9]+){5,10}$").map { Regex(it) } | ||
| val colors = sequenceOf(">", "`").map { Regex(it) } | ||
| val fancyToAscii = mapOf('ᴀ' to 'a', 'ʙ' to 'b', 'c' to 'c', 'ᴅ' to 'd', 'ᴇ' to 'e', 'ꜰ' to 'f', 'ɢ' to 'g', 'ʜ' to 'h', 'ɪ' to 'i', 'ᴊ' to 'j', 'ᴋ' to 'k', 'ʟ' to 'l', 'ᴍ' to 'm', 'ɴ' to 'n', 'ᴏ' to 'o', 'ᴩ' to 'p', 'q' to 'q', 'ʀ' to 'r', 'ꜱ' to 's', 'ᴛ' to 't', 'ᴜ' to 'u', 'ᴠ' to 'v', 'ᴡ' to 'w', 'x' to 'x', 'y' to 'y', 'ᴢ' to 'z',) |
There was a problem hiding this comment.
maybe make cyrillicToAscii to prevent bypassing those filters by replacing latin A with cyrillic А
There was a problem hiding this comment.
maybe make
cyrillicToAsciito prevent bypassing those filters by replacing latinAwith cyrillicА
It will cause russian messages to be incorrectly converted
There was a problem hiding this comment.
theres no filters for russian language anyway or wdym
emyfops
commented
Dec 22, 2025
@Avanatiker@beanbag44 need review asap so I can continue adding features |
Uh oh!
There was an error while loading. Please reload this page.
AntiSpam module to filter, remove or ignore certain categories of words. In the near future it will also filter out regular spam using possible a bucket token approach.