Check if JDA is on the server. (#139)

This commit is contained in:
Telesphoreo 2019-07-17 12:48:09 -07:00 committed by ZeroEpoch1969
parent c7e0a7a288
commit 7a4b044d45
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3

View File

@ -69,6 +69,11 @@ public class Discord extends FreedomService
{ {
FLog.warning("Discord verification bot failed to start."); FLog.warning("Discord verification bot failed to start.");
} }
catch (NoClassDefFoundError e)
{
FLog.warning("The JDA plugin is not installed, therefore the bot cannot start.");
FLog.warning("To resolve this error, please download JDA from: https://github.com/TFPatches/Minecraft-JDA/releases");
}
} }
@Override @Override