Skip to content

Commit 3140e22

Browse files
committed
Update dependency (JDA) and release notes.
1 parent c9f7eed commit 3140e22

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies{
2525
api group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
2626
api group: 'org.json', name: 'json', version: '20190722'
2727
api group: 'org.jetbrains', name: 'annotations', version: '18.0.0'
28-
api(group: 'net.dv8tion', name: 'JDA', version: '4.0.0_60'){
28+
api(group: 'net.dv8tion', name: 'JDA', version: '4.0.0_61'){
2929
exclude(module: 'opus-java')
3030
}
3131
api group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.8.0'

release-notes.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## v3
2+
3+
- ### v3.0.0
4+
- Moved post and get methods to their own class
5+
- GetAction was created for all GET methods.
6+
- PostAction was created for all POST methods.
7+
- RequestHandler (`com.andre601.javabotblockapi.RequestHandler`) is now deprecated.
8+
- Added [`top.gg`](https://top.gg) as alias for discordbots.org
9+
- New methods `getInvite(Long|String)` and `getServerCount(Long|String)` added.
10+
- Timeouts for POST requests where made dynamic.
11+
- GET methods which used either an JDA or ShardManager instance got removed.
12+
- Renamed multiple methods:
13+
- `getBotInfo` and `getBotInfos` where renamed to `getBotListInfo`
14+
- `getAll` was renamed to `getBotInfo`
15+
- `startAutoPosting` was renamed to `enableAutoPost`
16+
- `stopAutoPosting` was renamed to `disableAutoPost`
17+
- Dependencies updated:
18+
- JDA: `4.0.0_52` to `4.0.0_61`
19+
- annotations: `17.0.0` to `18.0.0`
20+
121
## v2
222

323
- ### v2.0.0

0 commit comments

Comments
 (0)