Added Music, Permissions, MuteCommand, Configuration Command and more!

This commit is contained in:
Malcom Green
2017-06-09 18:09:40 -04:00
parent 6bbc3f80a3
commit e5c86f1a7f
43 changed files with 1805 additions and 512 deletions

View File

@@ -1,13 +1,12 @@
package me.savvy.rixa;
import me.savvy.rixa.commands.admin.BatchMoveCommand;
import me.savvy.rixa.commands.general.HelpCommand;
import me.savvy.rixa.commands.general.InfoCommand;
import me.savvy.rixa.commands.general.PingCommand;
import me.savvy.rixa.commands.general.ServerInfoCommand;
import me.savvy.rixa.commands.admin.ConfigCommand;
import me.savvy.rixa.commands.general.*;
import me.savvy.rixa.commands.handlers.CommandExec;
import me.savvy.rixa.commands.handlers.CommandHandler;
import me.savvy.rixa.commands.mod.DeleteMessagesCommand;
import me.savvy.rixa.commands.mod.MuteCommand;
import me.savvy.rixa.commands.mod.PurgeMessagesCommand;
import me.savvy.rixa.data.database.Data;
import me.savvy.rixa.data.database.DataType;
@@ -84,7 +83,8 @@ public class Rixa {
register(new CommandExec[] {
new InfoCommand(), new ServerInfoCommand(), new HelpCommand(),
new DeleteMessagesCommand(), new PingCommand(), new PurgeMessagesCommand(),
new BatchMoveCommand() });
new BatchMoveCommand(), new MuteCommand(), new MusicCommand(),
new ConfigCommand()});
ReactionManager.registerReaction(new HelpReaction());
data = new Data(DataType.SQL);
}
@@ -126,4 +126,8 @@ public class Rixa {
public Logger getLogger() {
return Logger.getLogger("Rixa");
}
public ConfigManager getConfig() {
return config;
}
}