Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
/ FromReddit Public archive

Twitch IRC chatbot for displaying r/AskReddit questions on demand

Notifications You must be signed in to change notification settings

Tarasa24/FromReddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FromReddit

Simple Twitch IRC chatbot for displaying r/AskReddit questions on demand

Table of contents

General info

Have you ever felt like your chat is too silent? Like there isn't anything to discuss that haven't been discussed? Well what about you shoot some interesting question from r/AskReddit into the chat. That will surely evoke some kind of response. From your favourite movie quote to the multiverse theory, FromReddit got you covered.

Screenshot_01 Screenshot_02 Screenshot_03 Screenshot_04

Technologies

Project is created with:

Requirements and Setup

Reddit

Head to Reddit's developed applications page and create a new app. Give it a sexy name, select script, and put http:https://localhost to the redirect url box. Reddit developer create

If all done well, you should end up with a created application (as shown in the image below). From there you should take note of two things, client id and client secret. In this case:

CLIENTID = "Gz4oQcPJ3Tj03A"
CLIENTSEC = "qjx4d77aFSgsO7bHKMeOtmq4GP0"

Reddit developer app details

Twitch

Head over to my go to twitch oauth generator, log in with yours (alternatively your bots) account and authorize. Expected result should look something like this and the part you are interested in is the ACCESS TOKEN. twitchtokengenerator token

conf.ini

FromReddit requires to have all the necessary data to be stated in the conf.ini file as shown below. Said file can be edited either manually, or using the installer.

[Reddit]
CLIENTID=Gz4oQcPJ3Tj03A
CLIENTSEC=qjx4d77aFSgsO7bHKMeOtmq4GP0

[Twitch]
NICK=FromReddit
PASS=oauth:aBR6kSj2OdxdwR6zcQXlEG6M4ZdNer
CHANNEL=bobross

[Misc]
TIMEOUT=10

pip

This step isn't necessary if using the executable

pip install -r requirements.txt

Execution

py FromReddit.py

or run

FromReddit.exe

About

Twitch IRC chatbot for displaying r/AskReddit questions on demand

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages