|
| 1 | +--- |
| 2 | +--- |
| 3 | + |
| 4 | +This is the jda-module, which is used to provide support for the Java Discord API (JDA). |
| 5 | + |
| 6 | +It depends on both the {{ anchor('Core Module', 'Core') }} and the {{ anchor('Request Module', 'Request') }} and won't work without it. |
| 7 | + |
| 8 | +## Installation |
| 9 | + |
| 10 | +## Maven |
| 11 | + |
| 12 | +```xml |
| 13 | +<repositories> |
| 14 | + <repository> |
| 15 | + <id>jcenter</id> |
| 16 | + <name>jcenter-bintray</name> |
| 17 | + <url>https://jcenter.binrtray.com</url> |
| 18 | + </repository> |
| 19 | +</repositories> |
| 20 | +<dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>org.botblock</groupId> |
| 23 | + <artifactId>JavaBotBlockAPI-core</artifactId> |
| 24 | + <version>{{site.version}}</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.botblock</groupId> |
| 28 | + <artifactId>JavaBotBlockAPI-request-module</artifactId> |
| 29 | + <version>{{site.version}}</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.botblock</groupId> |
| 33 | + <artifactId>JavaBotBlockAPI-jda-module</artifactId> |
| 34 | + <version>{{site.version}}</version> |
| 35 | + </dependency> |
| 36 | +</dependencies> |
| 37 | +``` |
| 38 | + |
| 39 | + |
| 40 | +## Gradle (Recommendet) |
| 41 | + |
| 42 | +```groovy |
| 43 | +repositories{ |
| 44 | + jcenter() |
| 45 | +} |
| 46 | +dependencies{ |
| 47 | + compile 'org.botblock:JavaBotBlockAPI-core:{{site.version}}' |
| 48 | + compile 'org.botblock:JavaBotBlockAPI-request-module:{{site.version}}' |
| 49 | + compile 'org.botblock:JavaBotBlockAPI-jda-module:{{site.version}}' |
| 50 | +} |
| 51 | +``` |
| 52 | + |
| 53 | +## Manual |
| 54 | +We do not recommend using jar files directly and instead use one of the above dependency management systems. |
| 55 | + |
| 56 | +If you still want to do it manually, or can't use one of the other option, head over to the |
| 57 | +<a target="_blank" href="https://github.com/botblock/JavaBotBlockAPI/releases/latest">GitHub releases page</a> or to |
| 58 | +the <a target="_blank" href="https://bintray.com/beta/#/andre601/maven/JavaBotBlockAPI?tab=overview">Bintray release page</a> |
| 59 | +and download the jar files from there. |
| 60 | + |
| 61 | +Note that you will not receive any support when using this method. |
0 commit comments