00ll00 пре 5 година
родитељ
комит
16e677d21e

+ 0 - 6
src/main/kotlin/bot_luo_core/cli/CliConfig.kt

@@ -1,6 +0,0 @@
-package bot_luo_core.cli
-
-object CliConfig {
-    val REPL_YES = arrayOf("y","ok","yes","好","是","好的","是的")
-    val REPL_NO = arrayOf("n","no","nop","不","否","不是","不要")
-}

+ 2 - 2
src/main/kotlin/bot_luo_core/cli/CmdContext.kt

@@ -2,8 +2,8 @@ package bot_luo_core.cli
 
 import bot_luo_core.bot.BotContact
 import bot_luo_core.bot.MultiBotHandler
-import bot_luo_core.cli.CliConfig.REPL_NO
-import bot_luo_core.cli.CliConfig.REPL_YES
+import bot_luo_core.data.Config.REPL_NO
+import bot_luo_core.data.Config.REPL_YES
 import bot_luo_core.data.Group
 import bot_luo_core.data.User
 import bot_luo_core.util.Logger

+ 2 - 1
src/main/kotlin/bot_luo_core/data/Config.kt

@@ -2,5 +2,6 @@ package bot_luo_core.data
 
 object Config {
     val CMD_PREFIX = arrayOf('.','。','/')
-    val REP_YES = arrayOf("y","ok","yes","是","好","对","嗯","好的","是的","没错")
+    val REPL_YES = arrayOf("y","ok","yes","好","是","好的","是的")
+    val REPL_NO = arrayOf("n","no","nop","不","否","不是","不要")
 }