File tree Expand file tree Collapse file tree
src/main/java/de/skyking_px/PhoenixBot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66
77application.mainClass = " de.skyking_px.PhoenixBot.Bot"
88group = " de.skyking_px"
9- version = " 2.0.0-rc4 "
9+ version = " 2.0.0-rc5 "
1010
1111repositories {
1212 mavenCentral()
Original file line number Diff line number Diff line change 2828import java .io .IOException ;
2929
3030public 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 ;
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments