Skip to content

Stardust-Community/news

Repository files navigation

Anime News Telegram Bot

This Telegram bot fetches anime news from multiple sources like MyAnimeList, Crunchyroll, and TheAnimeDaily, and posts them in your chosen Telegram channel or group. You can use this bot to create an anime news channel that automatically updates with the latest news.

Features

  • Fetches Anime News from:
  • Allows you to connect a news channel where the bot will post updates.
  • Provides admin-only control over which channel receives the news.

Requirements

  • Python 3.x
  • Telegram API Keys: You can get your API keys from Telegram.
  • Bot Token: Obtain your bot token from BotFather.
  • MongoDB: Setup your MongoDB database. You can use MongoDB Cloud at MongoDB Atlas.

Available Commands

  • /start: Starts the bot and provides basic info.
  • /news <channel_id_or_username>: Connects a channel (with @username) where the bot will post the anime news.

Owner/Sudo Commands

  • /news <channel_id_or_username>: Admins use this command to connect the bot to a Telegram channel or group for posting news.

How to Host the Bot

You can easily deploy this bot to Heroku with just a few clicks. Use the button below to deploy it instantly:

For manual hosting, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Bots-Nation/AnimeNews-Bot.git
  2. Navigate to the project directory:
    cd AnimeNews-Bot
  3. Install required dependencies:
    pip install -r requirements.txt
  4. Set up the configuration in the config.py file with your Telegram bot token, API keys, and MongoDB URL.
  5. Run the bot:
    python bot.py

Credits


Note:

This is Version 2 of the bot, so don't expect much functionality yet. More features and improvements will be added soon. Contributions are welcome! If you would like to help, please feel free to open a pull request or contact me.

For support or questions, reach out to me at:


Example Images

Here are some anime-related images that you can use in your bot interface:

Anime Image Isagi Yoichi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages