Skip to content

Commit 81e3b39

Browse files
committed
Bump version for release
1 parent 93caa55 commit 81e3b39

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
[Download]: https://bintray.com/andre601/maven/JavaBotBlockAPI/_latestVersion
1313

1414
[JDA]: https://github.com/DV8FromTheWorld/JDA
15+
[Javacord]: https://github.com/javacord/Javacord
16+
1517
[OkHttp]: https://github.com/square/okhttp/
1618
[JSON]: https://github.com/stleary/JSON-java
1719
[Caffeine]: https://github.com/ben-manes/caffeine
@@ -59,6 +61,9 @@ dependencies{
5961
6062
// JDA Module. Depends on Core and Request
6163
compile group: 'org.botblock', name: 'javabotblockapi-jda', version: '{version}'
64+
65+
// Javacord Module. Depends on Core and Request
66+
compile group: 'org.botblock', name: 'javabotblockapi-javacord', version: '{version}'
6267
}
6368
```
6469

@@ -111,6 +116,13 @@ if you want to only download specific modules can you just use `javabotblockapi-
111116
<artifactId>javabotblockapi-jda</artifactId>
112117
<version>{version}</version>
113118
</dependency>
119+
120+
<!-- Javacord Module. Depends on Core on Request -->
121+
<dependency>
122+
<groupId>org.botblock</groupId>
123+
<artifactId>javabotblockapi-javacord</artifactId>
124+
<version>{version}</version>
125+
</dependency>
114126
</dependencies>
115127
```
116128

@@ -120,10 +132,15 @@ Please visit the [Javadoc] for all available POST and GET methods, as the amount
120132
# Libraries/Dependencies
121133
JavaBotBlockAPI utilizes different APIs to provide the functionality it offers right now.
122134
We have a list of those libraries listed here.
123-
- [JDA] - Java library used for creating bots.
124-
- [OkHttp] - Library for creating and managing http requests.
125-
- [JSON] - Used for JSON management.
126-
- [Caffeine] - Library used for caching.
135+
136+
- **Javacord Module**
137+
- [Javacord] - Java Wrapper for making Discord Bots.
138+
- **JDA Module**
139+
- [JDA] - Java library used for creating bots.
140+
- **Request Module**
141+
- [OkHttp] - Library for creating and managing http requests.
142+
- [JSON] - Used for JSON management.
143+
- [Caffeine] - Library used for caching.
127144

128145

129146
# Links

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins{
99
id 'net.kyori.blossom' version '1.1.0'
1010
}
1111

12-
def ver = new Version(major: 6, minor: 0, revision: 4)
12+
def ver = new Version(major: 6, minor: 1, revision: 0)
1313

1414
allprojects {
1515
apply plugin: 'com.jfrog.bintray'

core/src/main/java/org/botblock/javabotblockapi/core/BotBlockAPI.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public Builder addAuthToken(@Nonnull Site site, @Nonnull String token){
8888
CheckUtil.notEmpty(token, "Token");
8989

9090
tokens.put(site.getSite(), token);
91-
9291
return this;
9392
}
9493

@@ -113,7 +112,6 @@ public Builder addAuthToken(@Nonnull String site, @Nonnull String token){
113112
CheckUtil.notEmpty(token, "Token");
114113

115114
tokens.put(site, token);
116-
117115
return this;
118116
}
119117

@@ -133,7 +131,6 @@ public Builder setAuthTokens(@Nonnull Map<String, String> tokens){
133131
CheckUtil.notEmpty(tokens, "Tokens");
134132

135133
this.tokens = tokens;
136-
137134
return this;
138135
}
139136

@@ -153,7 +150,6 @@ public Builder setUpdateDelay(@Nonnull Integer updateDelay){
153150
CheckUtil.condition(updateDelay < 2, "UpdateDelay may not be less than 2.");
154151

155152
this.updateDelay = updateDelay;
156-
157153
return this;
158154
}
159155

0 commit comments

Comments
 (0)