|
@@ -7,10 +7,11 @@ object Runner {
|
|
|
def main(args: Array[String]): Unit = {
|
|
|
val bot = new Bot("657892534:AAEeSKtA9rbo9WCYDenFXygwtNg-YV_EDs4")
|
|
|
val eol = bot.run()
|
|
|
+ /*
|
|
|
println("Press [ENTER] to shutdown the bot, it may take a few seconds...")
|
|
|
scala.io.StdIn.readLine()
|
|
|
- bot.shutdown() // initiate shutdown
|
|
|
// Wait for the bot end-of-life
|
|
|
+ */
|
|
|
Await.result(eol, Duration.Inf)
|
|
|
}
|
|
|
}
|