kageru
7ebafc9958
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:
11 lines
264 B
Kotlin
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
|
|
} |