This repository contains bots that reply to hate speech. It is using the HateFlow API documented here.
pip3 install -r requirements.txt
- Create an account on Twitch.
- Request an OAuth code and update the
.env
file accordingly. - Start bot in read mode:
python3 twitch.py
If you want to reply to detected comments, uncomment the last line of event_message
in twitch.py
.
- Create an account on Reddit.
- Create a Reddit application and update the
.env
file accordingly. - Start the bot in read mode:
python3 reddit.py
The default setting is the subreddit "me_irl". If you want to reply to detected comments, uncomment
the last line of process_comments
in reddit.py
. You can customize the subreddit or post at the end of the file.