Skip to content

Legionivo/SlackBot_Reddit_Image_Poster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SlackBot_Reddit_Image_Poster

A Python Slack Bot which get latest image content from selected subreddits and post it to the selected channel.

Requirements

Requirements Version/Comment URL
SlackClient 1.0.1 https://github.com/slackhq/python-slackclient
PRAW: The Python Reddit Api Wrapper <=3.6.0 http://praw.readthedocs.io/en/stable/

Installation

git clone https://github.com/Legionivo/SlackBot_Reddit_Image_Poster.git

cd SlackBot_Reddit_Image_Poster/

virtualenv %your_venv_name%

. %your_venv_name%/bin/activate

pip install -r requirements.txt 

export BOT_TOKEN="xxxxx-xxxx-xxxx"

export CHANNEL_ID="XXXXXXXXX" (or you can just use channel name like general, etc)

python slack_bot_reddit_image_poster.py

Enjoy!

About

Slack Bot which posts reddit images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages