Skip to content

MiyukiKun/Reddit-Kang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Kang Bot

A Bot which uses official Reddit api to get any new post of a specific subreddit and automatically posts to a specified channel



Table of Content

Features

  • Bot is just one time setup you can simply deploy and it will run without any more input
  • Can choose any channel to post to or any subreddit to post from

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

  • API_ID You Can Get it from here .

  • API_HASH You Can Get it form here .

  • BOT_TOKEN Search @BotFather in telegram.

  • REDDIT_PERSONAL_USE_SCRIPT Go here to know how to get it.

  • REDDIT_SECRET you will get this in same process as above

  • AGENT you will get this in same process as above

  • SUBREDDIT Target subreddit you want to post from (dont incluce r/ simply write memes instead of r/memes for example)

  • CHANNEL_ID Target channel username(without the @) where you want to post the images (Goes without saying but add the bot to the cahannel and make admin)

Deployment

Heroku

Deploy

Known Issues

  • The Buttons can pe pressed multipe times by user (for the life of me I cant figure out SQL to make the buttons work properly), still does not affect the main purpose of the bot.

  • Sometimes posts may get repeated if the newest post gets deleted on reddit or the bot restarts (I dont know how to fix it).

Creator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages