File tree 1 file changed +2
-2
lines changed
src/main/java/net/clementraynaud/skoice/bot
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public void connect(CommandSender sender) {
116
116
.addEventListeners (new ReadyListener (this .plugin ))
117
117
.build ();
118
118
} catch (InvalidTokenException | IllegalArgumentException e ) {
119
- this .plugin .getLogger ().severe (this .plugin .getLang ().getMessage ("logger.error.bot-could-not-connect" ));
119
+ this .plugin .getLogger ().warning (this .plugin .getLang ().getMessage ("logger.error.bot-could-not-connect" ));
120
120
this .plugin .getConfigYamlFile ().remove (ConfigField .TOKEN .toString ());
121
121
if (tokenManager != null ) {
122
122
tokenManager .sendMessage (this .plugin .getLang ().getMessage ("chat.configuration.bot-could-not-connect" ));
@@ -221,7 +221,7 @@ public void updateStatus() {
221
221
this .status = BotStatus .MISSING_PERMISSION ;
222
222
this .jda .retrieveApplicationInfo ().queue (applicationInfo -> {
223
223
applicationInfo .setRequiredScopes ("applications.commands" );
224
- this .plugin .getLogger ().severe (this .plugin .getLang ().getMessage ("logger.error.missing-permission" , applicationInfo .getInviteUrl (Permission .ADMINISTRATOR )));
224
+ this .plugin .getLogger ().warning (this .plugin .getLang ().getMessage ("logger.error.missing-permission" , applicationInfo .getInviteUrl (Permission .ADMINISTRATOR )));
225
225
});
226
226
227
227
} else if (!this .plugin .getConfigYamlFile ().contains (ConfigField .VOICE_CHANNEL_ID .toString ())) {
You can’t perform that action at this time.
0 commit comments