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
@@ -39,7 +39,7 @@ public abstract class DJCommand extends MusicCommand
return true;
Settings settings = event.getClient().getSettingsFor(event.getGuild());
Role dj = settings.getRole(event.getGuild());
return dj!=null && event.getMember().getRoles().contains(dj);
return dj!=null && (event.getMember().getRoles().contains(dj) || dj.getIdLong()==event.getGuild().getIdLong());
});
}
}