14 lines
297 B
Kotlin
14 lines
297 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. ${e.stackTrace.joinToString("\n")}")
|
|
System.exit(1)
|
|
}
|
|
}
|