fixed npe during autoplaylists

added playnext command (simple version)
setting dj role to everyone works now
fixed massively wide joptionpanes
version number bump
This commit is contained in:
John Grosh
2018-11-21 23:34:18 -05:00
parent a6f7c9b3ef
commit c88979a6dd
12 changed files with 178 additions and 22 deletions

View File

@@ -167,15 +167,9 @@ public class BotConfig
// if we get through the whole config, it's good to go
valid = true;
}
catch (ConfigException.Missing | ConfigException.WrongType ex)
catch (ConfigException ex)
{
prompt.alert(Prompt.Level.ERROR, CONTEXT, ex.getMessage());
ex.printStackTrace();
}
catch (ConfigException ex)
{
prompt.alert(Prompt.Level.WARNING, CONTEXT, "'"+getConfigLocation()+"' was not found!");
ex.printStackTrace();
prompt.alert(Prompt.Level.ERROR, CONTEXT, ex + ": " + ex.getMessage());
}
}