Skip to content

A reddit bot that get the top Twitch.tv streams of a game and add large thumbnails on the sidebar

License

Notifications You must be signed in to change notification settings

MrMathias/twitchy_the_top_bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitchy_the_top_bot

A reddit bot that get the most viewed Twitch streams of a game and display them on the sidebar with large thumbnails

#Setup

  • Open config.py and add the reddit username and password of the bot, as well as the twitch-game and the number of streams you want to display

  • Copy the CSS from css.css to your subreddit's stylesheet to have the thumbnail images displayed. This can be editted as needed for your own subreddit's stylesheet. - The CSS might be bad, I have no idea what I am doing.

  • In your sidebar, add these two markers where you want the stream to display:


[](#TwitchStartMarker)

[](#TwitchEndMarker)

#Running

The script is intended to be used with a scheduler. If you simply want to run the code continuesly, a while loop and sleep() should be added to the script.

#Contact

If you have any issues with this bot, you can message me on reddit at /u/captainhatdog, if you have questions about the CSS you will likely have more luck asking the org. creator /u/andygmb.

About

A reddit bot that get the top Twitch.tv streams of a game and add large thumbnails on the sidebar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 80.1%
  • CSS 19.9%