Skip to content

Releases: hippogriff101/Jokes

Discord Bot

06 Sep 19:55
0ea9f02

Choose a tag to compare

😂 Jokes in Discord

A small Discord application that tells a joke when called using JokeAPI.


⭐ Features

  • Sends joke when command used
  • Works in both DM's and Servers

🔨 Installation & Usage

Install using this link!

Use the /joke command to get started.

Use in server Use in DM's

🛜 How to host yourself

Requirements

jokeapi
python-dotenv
discord.py

Setup

  1. Clone the repo into your Codespace or local machine

  2. Create a .env file in the project root:

  DISCORD_TOKEN=your_bot_token_here

Remember: Never commit or share your secret token!

  1. Setup Discord Developer Account

  2. Run the bot:

  python bot.py

💻 AI Usage

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 (and this release notes)

🪪 Credits

⚠️ Disclamer

  • Jokes were not written by me and are from external library (credited above)
  • NFSW,racist, explisit and sexist jokes from the library are turned off