Skip to content

phingorani/dangerbot

Repository files navigation

Dangerbot

Dangerbot is a Discord bot built with Java and the Spring Boot framework. It uses the Javacord library to interact with the Discord API.

Architecture

The application follows a standard layered architecture:

  • Controllers: Handles incoming HTTP requests.
  • Services: Contains the business logic of the application.
  • Repositories: Interacts with the database.
  • Listeners: Responds to events from the Discord API.

Features

  • Roll Dice: A user can roll a dice using a command.
  • Bot Commands: The bot can respond to various commands.
  • Welcome Message: Welcomes new users to the server.
  • Update Users: Keeps the user list updated.
  • Add Role: Assigns roles to users.

Requirements

  • Java 17 or higher
  • Maven
  • A Discord bot token

Getting Started

  1. Clone the repository.
  2. Set the DISCORD_TOKEN environment variable to your Discord bot token.
  3. Run the application using ./gradlew bootRun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors