|
|
|
@ -2,6 +2,7 @@ package net.pingex.dcf;
|
|
|
|
|
|
|
|
|
|
import net.pingex.dcf.commands.CommandRegistry;
|
|
|
|
|
import net.pingex.dcf.commands.InternalCommands;
|
|
|
|
|
import net.pingex.dcf.commands.permissions.PermissionsCommands;
|
|
|
|
|
import net.pingex.dcf.core.Configuration;
|
|
|
|
|
import net.pingex.dcf.core.GatewayConnectionManager;
|
|
|
|
|
import net.pingex.dcf.modularity.PluginLoader;
|
|
|
|
@ -42,6 +43,7 @@ public class DiscordCommandableFramework
|
|
|
|
|
|
|
|
|
|
// Register internal commands
|
|
|
|
|
new InternalCommands().getCommands().forEach(CommandRegistry::registerCommand);
|
|
|
|
|
new PermissionsCommands().getCommands().forEach(CommandRegistry::registerCommand);
|
|
|
|
|
|
|
|
|
|
// Run plugins
|
|
|
|
|
PluginLoader.getInstance().bulkRunPlugins();
|
|
|
|
|