Skip to content

Commit

Permalink
Updated Dependencies + Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TehZombiJeus authored and TehZombiJeus committed Nov 7, 2021
1 parent 044a254 commit e764efd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ dependencies {
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'mysql:mysql-connector-java:8.0.25'
implementation "com.googlecode.json-simple:json-simple:1.1.1"
implementation 'net.sourceforge.htmlunit:htmlunit:2.53.0'
implementation 'com.google.code.gson:gson:2.8.8'
implementation 'org.kohsuke:github-api:1.133'
implementation 'net.sourceforge.htmlunit:htmlunit:2.54.0'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.kohsuke:github-api:1.135'
implementation 'com.mattmalec:Pterodactyl4J:2.BETA_78'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,26 @@ public enum APIStatus {
this.emojiName = emojiName;
}

public String getStatus() {
return status;
}

public String getDescription() {
return description;
}

public boolean isUsable() {
return this == ONLINE || this == NOT_FETCHING;
}

public boolean isVerifyUsable() {
return this == ONLINE;
}

public String getEmoji() {
return TechDiscordBot.getGuild().getEmotesByName(emojiName, true).get(0).getAsMention();
}

public static APIStatus getSpigotStatus(SpigotAPIManager client) {
APIStatus status;

Expand Down

0 comments on commit e764efd

Please sign in to comment.