discord-kagebot/src/main/kotlin/moe/kageru/kagebot/main.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

14 lines
304 B
Kotlin

package moe.kageru.kagebot
import moe.kageru.kagebot.Log.log
import java.lang.System
fun main() {
//try {
Kagebot()
/*} catch (e: Exception) {
log.warning("An exception occurred in the main thread, exiting.\n${e.stackTrace.joinToString("\n")}")
System.exit(1)
}*/
}