Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danthe1st/danbot1
A small, pluginable Discord Bot
https://github.com/danthe1st/danbot1
discord discord-api discord-bot discord-java java java-8 jda jda-bot jda-discord jda-discord-bot maven
Last synced: 3 days ago
JSON representation
A small, pluginable Discord Bot
- Host: GitHub
- URL: https://github.com/danthe1st/danbot1
- Owner: danthe1st
- License: gpl-3.0
- Archived: true
- Created: 2018-07-08T09:58:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-03T11:44:02.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T09:43:20.964Z (13 days ago)
- Topics: discord, discord-api, discord-bot, discord-java, java, java-8, jda, jda-bot, jda-discord, jda-discord-bot, maven
- Language: Java
- Homepage: https://danthe1st.github.io/DanBot1/
- Size: 272 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# DanBot1 [![Build Status](https://travis-ci.com/danthe1st/DanBot1.svg?branch=master)](https://travis-ci.com/danthe1st/DanBot1)
a little, pluginable Discord Chat Bot.
For a list of Commands and standard-permissions visit [https://danthe1st.github.io/DanBot1](https://danthe1st.github.io/DanBot1)Program your own Plugins:
An example for creating Plugins for DanBot1 can be found [here](https://github.com/danthe1st/DanBot1ExamplePlugin)
* Create a new Maven Project
* Make sure that you are using at least Java 8
* add DanBot1 to the Dependencies (replace VERSION with [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.danthe1st/DanBot1/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.danthe1st/DanBot1)):
```xml
io.github.danthe1st
DanBot1
VERSION
provided
```
* if you use *IntelliJ*, make sure to tick `Include dependencies with "Provided" scope` in your run configuration. ![include provided dependencies](./.github/resc/IntelliJtickIncludeProvidedDependencies.png "TODO")
* Commands for the Bot have to be annotated with `@io.github.danthe1st.danbot1.commands.BotCommand`
* Commands should have a no-args-Constructor
* the field *aliases* in `@BotCommand` mean the Command aliases (should be at least one)
* Commands should implement the Interface `io.github.danthe1st.danbot1.commands.Command`
* Listeners should be annotated with `@io.github.danthe1st.danbot1.listeners.BotListener`
* Listeners should have a no-args-Constructor
* Listeners should extend `net.dv8tion.jda.api.hooks.ListenerAdapter`
* You can run the Bot by executing io.github.danthe1st.danbot1.core.Main.main(String[] args);
* you can export the plugin as a normal JAR File or use a maven export(mvn package), but the Commands and Listeners should be accessible and should hava a no-args-Constructor.