change: various cleanups

This commit is contained in:
ZtereoHYPE 2021-12-21 15:15:24 +01:00
parent 772808014c
commit 1b59ef181b
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ plugins {
mainClassName = 'codes.ztereohype.ztereomusic.ZtereoMUSIC'
version '0.0.1'
version '0.0.1+alpha1'
sourceCompatibility = targetCompatibility = 16

View file

@ -16,7 +16,7 @@ import java.util.Arrays;
import java.util.Map;
public class CommandListener extends ListenerAdapter {
// TODO: load prefix from a config
// TODO: load prefix from a database on a per-server basis
private static final String PREFIX = ZtereoMUSIC.getInstance().getConfig().getPropreties().get("prefix");
private static final Map<String, Command> COMMAND_MAP = ZtereoMUSIC.getInstance().getCommandMap();
private static final Map<String, String> COMMAND_ALIASES = ZtereoMUSIC.getInstance().getCommandAliases();