Skip to content

Instantly share code, notes, and snippets.

@gempir
Last active April 26, 2024 13:32
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gempir/6fef402b44e379cb2b6fe2c4f92f9741 to your computer and use it in GitHub Desktop.
Save gempir/6fef402b44e379cb2b6fe2c4f92f9741 to your computer and use it in GitHub Desktop.
Chatterino Filter Collection
Filter out every user without color (greynames) 2.0
(!(author.no_color) || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message)
Filter out every user without color (greynames)
!(author.no_color)
Only show mods, partners, broadcasters, staff, ignore nymns bots
((author.badges) contains ("staff") || (author.badges) contains ("moderator") || (author.badges) contains ("broadcaster") || (author.badges) contains ("partner")) && ((author.name) !== ("botnextdoor")) && ((author.name) !== ("supibot"))
Show highlighted messages or system messages like timeouts etc
(flags.highlighted || flags.system_message) && !flags.sub_message
Show mods, vips, staff, broadcasters, admins only
author.badges contains "moderator" || author.badges contains "vip" || author.badges contains "staff" || author.badges contains "broadcaster" || author.badges contains "admin"
@Mm2PL
Copy link

Mm2PL commented Oct 18, 2020

  1. Not bots (Supi's list + gempbot)
flags.highlighted || (author.name != "mm_sutilitybot" && author.name != "supibot" && author.name != "doxxbot" && author.name != "nightbot" && author.name != "streamelements" && author.name != "alienplsbot" && author.name != "apacabot" && author.name != "awoobot8" && author.name != "befriendlier" && author.name != "carlestonbieber" && author.name != "college_bot" && author.name != "electricbodybuilder" && author.name != "enlightenbot" && author.name != "hayewoodbot" && author.name != "hotlocalaniki" && author.name != "huwobot" && author.name != "icecreamdatabase" && author.name != "kalasbot" && author.name != "kunszgbot" && author.name != "magicbot321" && author.name != "manateebot69" && author.name != "moderatexbot" && author.name != "not_another_node_js_bot" && author.name != "obote" && author.name != "recent_messages" && author.name != "scriptorex" && author.name != "simonsaysbot" && author.name != "slchbot" && author.name != "sockiesbot" && author.name != "some_kind_of_cheese" && author.name != "sonnenbrot" && author.name != "sylvbot" && author.name != "thepositivebot" && author.name != "titlechange_bot" && author.name != "gempbot")
Not bots (Supi's list + gempbot) (Pretty version)
flags.highlighted || (
    author.name != "mm_sutilitybot" 
    && author.name != "supibot" 
    && author.name != "doxxbot" 
    && author.name != "nightbot" 
    && author.name != "streamelements" 
    && author.name != "alienplsbot" 
    && author.name != "apacabot" 
    && author.name != "awoobot8" 
    && author.name != "befriendlier" 
    && author.name != "carlestonbieber" 
    && author.name != "college_bot" 
    && author.name != "electricbodybuilder" 
    && author.name != "enlightenbot" 
    && author.name != "hayewoodbot" 
    && author.name != "hotlocalaniki" 
    && author.name != "huwobot" 
    && author.name != "icecreamdatabase" 
    && author.name != "kalasbot" 
    && author.name != "kunszgbot" 
    && author.name != "magicbot321" 
    && author.name != "manateebot69" 
    && author.name != "moderatexbot" 
    && author.name != "not_another_node_js_bot" 
    && author.name != "obote" 
    && author.name != "recent_messages" 
    && author.name != "scriptorex" 
    && author.name != "simonsaysbot" 
    && author.name != "slchbot" 
    && author.name != "sockiesbot" 
    && author.name != "some_kind_of_cheese" 
    && author.name != "sonnenbrot" 
    && author.name != "sylvbot" 
    && author.name != "thepositivebot" 
    && author.name != "titlechange_bot"
    && author.name != "gempbot"
)
  1. Not bot commands (Supi's list)
!flags.highlighted && (message.content startswith "$" || message.content startswith "<" || message.content startswith "-" || message.content startswith "kb" || message.content startswith "!" || message.content startswith "/" || message.content startswith "%" || message.content startswith "?" || message.content startswith ">" || message.content startswith "^" || message.content startswith "]" || message.content startswith "¤" || message.content startswith "~" || message.content startswith "_" || message.content startswith "&"  || message.content startswith "!!" || message.content startswith "+" || message.content startswith "'" || message.content startswith "m!" || message.content startswith "*" || message.content startswith "#" || message.content startswith ";" || message.content startswith "}" || message.content startswith "§" || message.content startswith "@@")
Not bot commands (Supi's list) (Pretty version)
!flags.highlighted && (
    message.content startswith "$" 
    || message.content startswith "<" 
    || message.content startswith "-" 
    || message.content startswith "kb" 
    || message.content startswith "!" 
    || message.content startswith "/" 
    || message.content startswith "%" 
    || message.content startswith "?" 
    || message.content startswith ">" 
    || message.content startswith "^" 
    || message.content startswith "]" 
    || message.content startswith "¤" 
    || message.content startswith "~" 
    || message.content startswith "_" 
    || message.content startswith "&"  
    || message.content startswith "!!" 
    || message.content startswith "+" 
    || message.content startswith "'" 
    || message.content startswith "m!" 
    || message.content startswith "*" 
    || message.content startswith "#" 
    || message.content startswith ";" 
    || message.content startswith "}" 
    || message.content startswith "§" 
    || message.content startswith "@@"
)
  1. Not Pajbots
flags.highlighted || !( author.name == "wowsobot" || author.name == "reipbot" || author.name == "pajbot" || author.name == "dinubot" || author.name == "schnozebot" || author.name == "nanonobot" || author.name == "brzuchsmacznego" || author.name == "misoobot" || author.name == "botnextdoor" || author.name == "snusbot" || author.name == "niconicobot" || author.name == "feelsdankbot" || author.name == "boterie")

Not Pajbots (pretty version)
flags.highlighted || !(
    author.name == "wowsobot"
    || author.name == "reipbot"
    || author.name == "pajbot"
    || author.name == "dinubot"
    || author.name == "schnozebot"
    || author.name == "nanonobot"
    || author.name == "brzuchsmacznego"
    || author.name == "misoobot"
    || author.name == "botnextdoor"
    || author.name == "snusbot"
    || author.name == "niconicobot"
    || author.name == "feelsdankbot"
    || author.name == "boterie"
)

@Mm2PL
Copy link

Mm2PL commented Jul 6, 2021

Local sub mode

author.subbed || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message

@gzachariadis
Copy link

No Whispers

(flags.whisper) == "False"

Really Long Messages

(message.length) <= (200)

Really Small Messages

(!(message.length) <= (3))

No Moderators

(!(author.badges) contains ("moderator"))

Only Digits

(!(message.content) match r"^\s{0,}\d{1,}\s{0,}$")

Bot Command Trigger Messages

(!(message.content) match r"^[!+#]\w+")

No Links

!(message.content) match r"(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})"

Single Word Messages

(!(message.content) match r"^[^ ]*$")

Same Word Spam

(!(message.content) match r"(.{8,})(?=\1)")

Repeated Phrases

(!(message.content) match r"\b(\w+(?:\s*\w*))\s+\1\b")

Tags to Streamer + Hi/Hello

!((message.content contains channel.name) && (message.content match r"(^|\s{1,})(?i)[hHχΧxX]+[εέΕeEήηιίΙιΗηiIhHuUυύYy]+[λΛlL]{0,}[όoοοΟoωώΩωoOw0WoOοΟ]{0,}($|\s{1,})($|\s{1,})"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment