A small Discord application that tells a joke when called using JokeAPI.
- Sends joke when command used
- Works in both DM's and Servers
Install using this link!
Use the /joke command to get started.
jokeapi
python-dotenv
discord.py
-
Clone the repo into your Codespace or local machine
-
Create a
.envfile in the project root:
DISCORD_TOKEN=your_bot_token_here
Remember: Never commit or share your secret token!
-
Setup Discord Developer Account
-
Run the bot:
python bot.py
I am going to be clear about the AI usage of this repo:
- Learning and understanding the documentation of tools I used
- Helped debugging
- Assisted in structuring
README.md
- Find permanent hosting server (Hack Club Nest) ✅
- Rebrand (logo and banner) ✅
- Ship on SoM ✅
Discord Server - Hippogriff's Tinkering
- Jokes were not written by me and are from external library (credited above)
NFSW,racist,explisitandsexistjokes from the library are turned off