Skip to content

Twitch spambot v1.2

Compare
Choose a tag to compare
@FrozenTear7 FrozenTear7 released this 13 Dec 10:37
· 106 commits to master since this release

Twitch spambot

Version 1.2

New version with minor quality of life additions and error handling.

Changes:

  • added a list of ignored starting characters, which are channel/bot command or whispers: ['!', '@', '#', '$', '%', '^', '&', '*']
  • added a json file ignoredWords.json, which allows you to create your own list of words to ignore
  • check sub emotes via emote codes - at the start global emotes (default Twitch emotes such as Kappa, DansGame, etc..) are fetched and any emote that has a different code than them is being ignored
  • color the message with /me (which changes the message color from white to your nickname's color) by checking if the most popular spam was a colored one
  • ignored messages still add to the score of other messages, they just won't be added to the dictionary and have its own score
  • ignore URLs
  • handle minor errors, such as channel is banned or your are banned from the chat

Future ideas

  • Add a whitelist for sub emotes, at the moment every sub emote is being ignored, but you know:
    Hey subs! [̲̅$̲̅(̲̅5)̲̅$̲̅]ヽ༼ຈل͜ຈ༽ง It's me walking with my $5, don't mind me.