A discord bot that serves you Calvin and Hobbes comic strip from Go Comics website.
- Get an understanding of how discord bot works using discord API.
- Understanding web-scraping and parsing a response HTML web page using python libraries like requests and BeautifulSoup.
Use this link to add the bot to your server.
Clone the repository
git clone https://github.com/Aayush-2492/Cal-Hob-bot.git
Install the requirements
pip install -r requirements.txt
OR
pip3 install -r requirements.txt
depending upon the version of python you use.
Add a .env file which contains the token to your bot stored under TOKEN key.
Run the main.py file and the bot is now active :)
$help
- Displays all the commands.$calhob
- Returns a strip from a random date.$calhob_on <day> <month> <year>
- Returns strip on that date if it exists(18/11/1985 - 31/12/1995).
The project is licensed under MIT LICENSE