Skip to content

Commit b06909c

Browse files
committed
v4.2.0
- New get methods
1 parent a76a328 commit b06909c

File tree

3 files changed

+283
-27
lines changed

3 files changed

+283
-27
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 4, minor: 1, revision: 1)
10+
def ver = new Version(major: 4, minor: 2, revision: 0)
1111

1212
group = "org.botblock"
1313
version = "$ver"

release-notes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Versions marked with a `*` are not available on bintray!
2525
- ### v4.1.1
2626
- `@DeprecatedSince` was slightly changed.
2727

28+
- ### v4.2.0
29+
- Added new get methods to GetAction
30+
- `getDiscriminator(Long|String)`: Returns the discriminator of the bot or an empty String.
31+
- `getGitHub(Long|String)`: Returns GitHub url or an empty String.
32+
- `getLibrary(Long|String)`: Returns the library used by the bot or an empty String.
33+
- `getName(Long|String)`: Returns the name of the bot or an empty String.
34+
- `getPrefix(Long|String)`: Returns the command prefix of the bot or an empty String.
35+
- `getSupportLink(Long|String)`: Returns the support link (i.e. Discord invite) or an empty String.
36+
- `getWebsite(Long|String)`: Returns the website link of the bot or an empty String.
37+
- `getServerCount(Long|String id)` is now declared as `@Nullable` meaning result may be null.
38+
2839
## v3
2940
- ### v3.0.0
3041
- Moved post and get methods to their own class

0 commit comments

Comments
 (0)