Skip to content

Commit

Permalink
添加别名
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyv404 committed Feb 8, 2024
1 parent ddbf55a commit c89618d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ISU : NfApp(), IFshApp {

override fun getAppDescription() = "我的世界玩家状态监控"

override fun getCommands() = arrayOf("-玩家状态", "-有妖怪在线吗", "-桃呢", "-有无妖怪")
override fun getCommands() = arrayOf("-玩家状态", "-有妖怪在线吗", "-桃呢", "-有无妖怪", "-有妖怪在线吗")

override fun getOptions() = NfOptions().apply {
addOption("m", "more", false, "获取更多信息")
Expand All @@ -40,7 +40,7 @@ class ISU : NfApp(), IFshApp {

return when (args[0]) {
"-玩家状态", "-桃呢" -> playerStatus(args, msg, cmdLine.hasOption("more"))
"-有妖怪在线吗", "-有无妖怪" -> findOP(msg)
"-有妖怪在线吗", "-有无妖怪", "-有妖怪在吗" -> findOP(msg)
else -> false
}
}
Expand Down

0 comments on commit c89618d

Please sign in to comment.