Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Feature: Remove messages with unicode character spam from chat #116

Open
solonovamax opened this issue Sep 16, 2021 · 0 comments
Open

Feature: Remove messages with unicode character spam from chat #116

solonovamax opened this issue Sep 16, 2021 · 0 comments

Comments

@solonovamax
Copy link

It's a common technique of spammers to just use random unicode characters to bypass the filter.

So, just search for any messages with more than, let's say, 4 charcters past like, 0x007F. Alternatively, you could go up to 0x00FF if you the Latin-1 Supplement characters, 0x017F if you want Latin Extendend-A characters, and 0x024F if you want Latin Extended-B characters. See: https://unicode-table.com/en/#basic-latin (Note, the § character used for colour codes is part of the Latin-1 Supplement characters)

Here's some examples of spam text from today:

§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | ZpKsHIpUv
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | LkNoRHmDj
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | RmMnKXlYd
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | RvNaOMbCm
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | DdRxJWaSi
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | PcWrWAsLg
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | KdWqYMnNv
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | RlOlGGcLz
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | KfNgVDtNl
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | QqPwBQzGn
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | RbQoEZwPg
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | HxJpVBlVs
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | BlKoONpRc
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | BvYtRAwQe
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | ExYlDUmOs
§7[1✫] §a[VIP§6+§a] officialspitfire§f: discord.gg⧸KCALS < FREE MVP++ | UdPnDAyLr
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant