use of fun.rubicon.commands.admin.CommandVerification in project Rubicon by Rubicon-Bot.
the class RubiconBot method registerCommandHandlers.
/**
* Registers all command handlers used in this project.
*
* @see CommandManager
*/
private void registerCommandHandlers() {
// Usage: commandManager.registerCommandHandler(yourCommandHandler...);
// admin commands package
commandManager.registerCommandHandlers(new CommandBan(), new CommandKick(), new CommandMute(), new CommandUnmute(), new CommandWarn(), new CommandPortal(), new CommandVerification(), new CommandAutochannel(), new CommandRole(), new CommandUnban());
// botowner commands package
commandManager.registerCommandHandlers(new CommandDBGuild(), new CommandPlay(), new CommandRestart(), new CommandStop(), new CommandGuilds(), new CommandCreateInvite(), new CommandEval(), new CommandTwitter(), new CommandGlobalBlacklist(), new CommandGenerateDocsJSON(), new CommandMaintenance(), new CommandGuildData(), new CommandAlarm());
// music commands package
commandManager.registerCommandHandlers(new fun.rubicon.commands.music.CommandPlay(), new CommandSkip(), new CommandJoin(), new CommandLeave(), new CommandShuffle(), new CommandNow(), new CommandPause(), new CommandResume(), new CommandQueue(), new CommandVolume(), new CommandForceplay());
// fun commands package
commandManager.registerCommandHandlers(new CommandRip(), new CommandSlot(), new CommandRoulette(), new CommandGiphy(), new CommandVideo(), new CommandUrban(), new CommandMinecraft(), new CommandOWStats(), new CommandAsciiText());
// general commands package
commandManager.registerCommandHandlers(new CommandHelp(), new CommandFeedback(), new CommandPing(), new CommandInfo(), new CommandInvite(), new CommandSpeedTest(), new CommandStatistics(), new CommandMoney(), new CommandUptime(), new CommandProfile(), new CommandBio(), new CommandMiner(), new CommandPremium(), new CommandGitBug());
// settings commands package
commandManager.registerCommandHandlers(new CommandAutorole(), new CommandJoinMessage(), new CommandPrefix(), new CommandWelcomeChannel(), new CommandWhitelist(), // new CommandBlacklist(), Sorry but is buggy as hell
new CommandLeaveMessage(), new CommandLog(), new CommandLevelMessage());
// tools commands package
commandManager.registerCommandHandlers(new CommandChoose(), new CommandClear(), new CommandRandomColor(), new CommandDice(), new CommandLmgtfy(), new CommandSay(), new CommandQRCode(), new CommandSearch(), new CommandServerInfo(), new CommandShorten(), new CommandUserInfo(), new CommandVote(), new CommandMoveAll(), new CommandNick());
// also register commands from the old framework
// noinspection deprecation
new CommandManager();
}
Aggregations