From 4a02648102418bbe0f8638327469bf6d39307f6b Mon Sep 17 00:00:00 2001 From: "jiahua.liu" Date: Tue, 25 Feb 2020 17:53:47 +0800 Subject: [PATCH] fix typo --- .../main/kotlin/net/mamoe/mirai/console/command/Command.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/Command.kt b/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/Command.kt index bec68e608..d57d005d5 100644 --- a/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/Command.kt +++ b/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/Command.kt @@ -37,7 +37,7 @@ object CommandManager { val allNames = mutableListOf(command.name).also { it.addAll(command.alias) } allNames.forEach { if (registeredCommand.containsKey(it)) { - error("net.mamoe.mirai.Command Name(or Alias) $it is already registered, consider if same function plugin was installed") + error("Command Name(or Alias) $it is already registered, consider if same functional plugin was installed") } } allNames.forEach { @@ -214,7 +214,7 @@ class CommandBuilder internal constructor() { fun register(): Command { if (name == null || onCommand == null) { - error("net.mamoe.mirai.CommandBuilder not complete") + error("CommandBuilder not complete") } if (alias == null) { alias = listOf()