Releases: FrozenTear7/twitch-spambot
Twitch spambot v2.0
Twitch spambot
Version 2.0
IT'S FINALLY HERE
Setup for the bot now requires a bit more work, but relies only on the Twitch API, no more external dependencies.
Please read the README carefully and prepare a valid config, which involves registering a developer application.
Changes:
- Fixed fetching emotes from the new Twitch API
Twitch spambot v1.6
Twitch spambot
Version 1.6
New twitch emotes API - migration from Twitchemotes to the official Twitch Helix API.
Authorization changes! You now have to add your Client-Id to the .env
config file, check README for further instructions.
Changes:
- New twitch emotes API
- Emote type changes due to the new API
TODO:
- Automate getting the Client ID
- Find a way to use the new Helix API with OAuth 2.0 without a dedicated server
Twitch spambot v1.5.2
Twitch spambot
Version 1.5.2
New scoring, multi posting fixes, better logs and automated response.
Changes:
- Score for identical messages is now doubled
- Fix the problem of multiple messages being sent at once
- Add spacing to score logs so they line up
- Add a custom automated response passed via arguments
Twitch spambot v1.5.1
Twitch spambot
Version 1.5.1
Custom colors for console logs
Changes:
- Add custom colors for logged messages and errors
TODO from v1.4:
- make better automated response setting
Twitch spambot v1.5
Twitch spambot
Version 1.5
Jest tests, minor fixes and refactors.
Changes:
- Jest tests covering most of the code
- Message handling fixes from v1.4
- Code redundancy removed
- More functionality extracted into exported functions
TODO from v1.4:
- make better automated response setting
Twitch spambot v1.4
Twitch spambot
Version 1.4
Project rewritten with TypeScript, so I can put that on my resume :).
Changes:
- TypeScript setup
- all files converted into
.ts
files - everything typed according to the config
- now considering the whole message array as potential outputs, not just the fresh new message being parsed
TODO:
- make better automated response setting
Twitch spambot v1.3
Twitch spambot
Version 1.3
New and more dynamic way of storing messages, crash fixes, whitelists, ignores and some refactoring.
Changes:
- instead of creating timed windows during which we gather messages, now all messages are saved with the timestamped date of being read and then they're discarded after they're past due time
- ignore messages including usernames of users in the chat (we not only ignore explicit @username mentions, but also usernames since apps like Chatterino allow autocompletion for mentions without the
@
character - add ignored messages for better control over the content being posted (you might want to ignore some specific emotes or usernames)
- add whitelisted sub emotes from the channels you're subbed to
- overall refactor of the app, handlers and utils are in their specific files
- add an autowhisper back to the user mentioning you option
Fixes:
- fix crashing after reconnecting
TODO:
- monitor the performance of current score calculations, since it's much more expensive to calculate it each time instead of storing it throughout the whole lifecycle
- find a way to check the online status of the stream since notices don't seem to work
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.
Twitch spambot v1.1
Twitch spambot
Version 1.1
Second release with better handling of sub emotes, scoring and console args.
The script now requires the channel name to be passed via console args to allow easier switching between channels and running the script in parallel on multiple channels.
Messages containing sub emotes also contribute to the overall scores of other messages, but are not added, while previously they were simply ignored.
Future ideas
- Find a better way to ignore messages containing sub emotes - tmi.js shows emotes supported by twitch, but I haven't found a way to check whether these are global or sub ones
- Create a check for live/offline status to turn on/off the script to avoid spamming some offline social commands as it often happens in the offline chat
- Create tiers of importance for spamming - if the score is low don't spam if something was sent recently, but if the score is very high it would be better to spam it than wait 30 seconds
Twitch spambot v1.0
Twitch spambot
Version 1.0
First working release of the program with minor error handling and checks.
TODO
- Finding the best version of the most popular spam instead of simply taking the first phrase of this kind
- Add slow / fast spam mode - adding a new character at the end of the spam to avoid repeating the same phrase