A simple Telegram bot that fetches the latest anime news and sends it to a channel.
- Fetch the latest anime news
- Post the latest news to a specified Telegram channel
- Built with Python and python-telegram-bot library
-
Clone the repository:
git clone https://github.com/Poxygen0/animenewsbot.git cd animenewsbot -
Install dependencies in a preferred virtual env:
pip3 install -r requirements.txt
-
Create a .env file with the following variables:
BOT__TOKEN = 'Your_token_here' DATABASE__URL = "sqlite:///data/database/botdata.db" BOT__OWNER_ID = 'Your_user_id_here' BOT__USERNAME = 'bot_username_here' BOT__LOG_CHANNEL_ID = 'logs_channel_id'
python main.py