Allow configuration of commands

This commit is contained in:
Draycia committed 2022-01-01 19:11:11 -08:00
1 parent 520630433b
commit f20b1ef434
23 files changed
+754 -197

No files matched your search

@@ -114,7 +114,9 @@ public class CarbonChatVelocity implements CarbonChat {
((CarbonChannelRegistry) this.channelRegistry()).loadConfigChannels();
// Commands
CloudUtils.registerCommands(this.injector);
CloudUtils.loadCommands(this.injector);
final var commandSettings = CloudUtils.loadCommandSettings(this.injector);
CloudUtils.registerCommands(commandSettings);
}
@Override