discord-kagebot/src/main/kotlin/moe/kageru/kagebot/Globals.kt
kageru 7ebafc9958
Completely rewrote config
Added a rawconfig as an intermediate step when parsing the TOML.
This will make nullability much more reliable and also gives me lots of
options in the future. It also broke all tests because reading the
config (not the raw config) now depends on the discord API. :tehe:
2019-06-12 23:43:36 +02:00

11 lines
264 B
Kotlin

package moe.kageru.kagebot
import moe.kageru.kagebot.config.Config
import org.javacord.api.DiscordApi
import org.javacord.api.entity.server.Server
object Globals {
lateinit var server: Server
lateinit var api: DiscordApi
lateinit var config: Config
}