Skip to content

SameerSahu007/LinuxMemesBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published