Skip to content

Commit ebc918d

Browse files
committed
2.0.0-rc5
* Fix a tiny tiny mistake
1 parent a783b1f commit ebc918d

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66

77
application.mainClass = "de.skyking_px.PhoenixBot.Bot"
88
group = "de.skyking_px"
9-
version = "2.0.0-rc4"
9+
version = "2.0.0-rc5"
1010

1111
repositories {
1212
mavenCentral()

src/main/java/de/skyking_px/PhoenixBot/Bot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import java.io.IOException;
2929

3030
public class Bot {
31-
public static final String VERSION = "2.0.0-rc4";
31+
public static final String VERSION = "2.0.0-rc5";
3232
private static final Logger logger = LoggerFactory.getLogger(Bot.class);
3333

3434
private static VoteStorage voteStorage;

src/main/java/de/skyking_px/PhoenixBot/listener/BugReportListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public void onChannelCreate(ChannelCreateEvent event) {
3333
} catch (IOException e) {
3434
logger.error("[BOT] Fatal Error - Couldn't get Bug Report Forum ID");
3535
} catch (IllegalStateException e) {
36-
logger.error("[BOT] Error - Incorrect channel type, ignoring");
36+
logger.error("[BOT] Error - Incorrect channel type");
37+
return;
3738
}
3839

3940
MessageEmbed embed = new EmbedBuilder()

src/main/java/de/skyking_px/PhoenixBot/listener/SuggestionListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public void onChannelCreate(ChannelCreateEvent event) {
4545
} catch (IOException e) {
4646
logger.error("[BOT] Fatal Error - Couldn't get Suggestions Forum ID");
4747
} catch (IllegalStateException e) {
48-
logger.error("[BOT] Error - Incorrect channel type, ignoring");
48+
logger.error("[BOT] Error - Incorrect channel type");
49+
return;
4950
}
5051

5152
MessageEmbed embed = new EmbedBuilder()

src/main/java/de/skyking_px/PhoenixBot/listener/SupportListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public void onChannelCreate(ChannelCreateEvent event) {
3333
} catch (IOException e) {
3434
logger.error("[BOT] Fatal Error - Couldn't get Support Forum ID");
3535
} catch (IllegalStateException e) {
36-
logger.error("[BOT] Error - Incorrect channel type, ignoring");
36+
logger.error("[BOT] Error - Incorrect channel type");
37+
return;
3738
}
3839

3940
MessageEmbed embed = new EmbedBuilder()

0 commit comments

Comments
 (0)