Twitch spambot v1.2
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
oryour 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.