A Bot which uses livechart rss feed and subreddits to gather anime related news and post it in a telegram channel
- 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
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 inclucer/
simply write memes instead of r/memes for example) -
APPROVAL_CHANNEL_ID
approval channel username(without the @) or if its private then use channel id (Goes without saying but add the bot to the cahannel and make admin) -
MAIN_CHANNEL_ID
main channel where post will be posted after approval -
FLAIR
if you want to sort post of the target subreddit by flair, if you want all post then simply useNone
-
TWITTER_API_KEY
get it from here, NOTE: you need elevated access to use this bot -
TWITTER_API_SECRET
mentioned above -
ACCESS_TOKEN
mentioned above -
ACCESS_SECRET
mentioned above
- Sometimes posts may get repeated if the newest post gets deleted on reddit or the bot restarts (I dont know how to fix it).