Skip to content

deathmukh/discbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot - Java Maven Project

This Discord bot, developed using Java and Maven, offers various commands, including fetching memes, jokes, and additional functionalities.

Features

  • Meme Command: Use /meme to retrieve programming-related memes.
  • Joke Command: Employ /joke to fetch dad jokes.
  • Other Commands: Includes features like todo lists, rule display, and more.

Setup

  1. Clone the Repository:

    git clone https://github.com/your-username/discord-bot.git
    cd discord-bot
  2. Environment Setup:

    • Create a .env file in the root directory.
    • Define necessary environment variables in the .env file:
      DISCORD_BOT_TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE
      RAPID_API_KEY=YOUR_RAPID_API_KEY_HERE
      
  3. Building and Running:

    Use Maven to build the project and run the bot:

    mvn clean install
    java -jar target/discord-bot.jar
  4. Command Usage:

  • /meme: Fetches programming-related memes.
  • /joke: Retrieves dad jokes.
  • /rules: Displays server rules.
  • /hello: Greets the user.
  • /todo: Allows the user to create a to-do list.
  • /help: Provides information and instructions about bot commands.

Dependencies

Screenshots

image image image

About

a discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages