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:
14 lines
304 B
Kotlin
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)
|
|
}*/
|
|
}
|