A simple Telegram bot that sends a random non-NSFW picture from r/Saber. Inspired by but not based on doggobot.
This bot can be found at t.me/ch_saberbot.
You need to have installed:
- Python 3 and pip
You also need these secrets (organisation memebers may use these:
- Reddit API client ID + client secret
- Telegram bot API key
First, create a virtual environment and source it:
python3 -m venv venv
. venv/bin/activate
Install dependencies using pip:
pip3 install -r requirements.txt
Now, add secrets by first copying apikey.yml.dist
to apikey.yml
. Then, fill
in the blanks using the secrets above.
Lastly, run the bot:
python3 bot.py