From d83786a2d266f66eb0dfc0f01f3126cd4aa7fd12 Mon Sep 17 00:00:00 2001 From: BSpoones <76079263+BSpoones@users.noreply.github.com> Date: Sat, 27 Jul 2024 01:20:56 +0100 Subject: [PATCH] fix: Config issue --- src/main/kotlin/org/bspoones/zeus/Zeus.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/bspoones/zeus/Zeus.kt b/src/main/kotlin/org/bspoones/zeus/Zeus.kt index 3b944da..d98dac7 100644 --- a/src/main/kotlin/org/bspoones/zeus/Zeus.kt +++ b/src/main/kotlin/org/bspoones/zeus/Zeus.kt @@ -67,13 +67,14 @@ abstract class Zeus(private val guildOnly: Boolean = false) { ).build() this._api.awaitReady() - initConfig() - MongoConnection.setup() initEntities() CommandRegistry.setup(this.api) + + initConfig() + registerCommands() ComponentRegistry.setup(this.api)