Skip to content

gautam8404/Anime_news_bot

Repository files navigation

Anime News Bot

A Bot which uses livechart rss feed and subreddits to gather anime related news and post it in a telegram 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)

  • 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 use None

  • 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

Deployment

Heroku

Deploy

Known Issues

  • 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

fetches news from livechart.me and r/anime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages