Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1 KB

README.md

File metadata and controls

53 lines (39 loc) · 1 KB

LinuxMemesBot

This is a telegram bot that get some memes from r/linuxmemes and post it in a telegram channel.

Installation

clone the repository

https://github.com/SameerSahu007/LinuxMemesBot.git

create a virtual environment by installing virtualenv

pip install virtualenv

create the venv folder

virtualenv venv

After that activate the virtual enviorment by executing

venv\Scripts\activate

Install the required packages

pip install -r requirements.txt

generate you telegram api key by searching @BotFather on Telegram after that you also need to generate Reddit Api key

Now create a .env file and put your api keys in it

CLIENT_ID=
CLIENT_SECRET = 
USER_AGENT =
TELEGRAM_API =

Usage

python bot.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT