https://github.com/nea89o/brigadier-jda-discord
An attempt at usign Brigadier with JDA
https://github.com/nea89o/brigadier-jda-discord
brigadier discord jda kotlin
Last synced: 3 months ago
JSON representation
An attempt at usign Brigadier with JDA
- Host: GitHub
- URL: https://github.com/nea89o/brigadier-jda-discord
- Owner: nea89o
- License: mit
- Created: 2020-08-19T17:03:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T17:05:10.000Z (about 5 years ago)
- Last Synced: 2025-04-04T21:33:32.194Z (7 months ago)
- Topics: brigadier, discord, jda, kotlin
- Language: Kotlin
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Brigadier JDA
This is a proof of concept project to demonstrate using [Brigadier][brigadier] with [JDA][jda] and Kotlin.
### Building
This project uses [Gradle][gradle] for building and dependency management.- You can either directly run the project using `./gradlew run`.
- You can create a zip/tar using `./gradlew distZip` or `./gradlew distTar` respectively.
- Those can be found in `build/distributions`
- Those have Windows / Linux scripts to launch the project in the bin folder#### Versioning / Dependencies
This project uses [Refresh Versions][refreshVersions] to manage dependencies.
Run `./gradlew refreshVersions` to check for updates. Then open `versions.properties` and bump versions where appropriate. After that reload your project and run `./gradlew refreshVersions` again to make sure there won't be any git conflicts.
When introducing new dependencies make sure you use the `"_"` version identifier, so it will be managed by the plugin.
### Token
Set the environment variable `DISCORD_TOKEN` to a bot token obtained from Discord's [Developer Panel][discord].[brigadier]: https://github.com/Mojang/brigadier
[jda]: https://github.com/DV8FromTheWorld/JDA
[discord]: https://discord.com/developers/applications/me
[gradle]: https://gradle.org/
[refreshVersions]: https://plugins.gradle.org/plugin/de.fayard.refreshVersions