diff --git a/src/main/kotlin/io/github/bluesheep2804/selenechat/command/MessageCommand.kt b/src/main/kotlin/io/github/bluesheep2804/selenechat/command/MessageCommand.kt index 7a49ff2..f86baa0 100644 --- a/src/main/kotlin/io/github/bluesheep2804/selenechat/command/MessageCommand.kt +++ b/src/main/kotlin/io/github/bluesheep2804/selenechat/command/MessageCommand.kt @@ -33,8 +33,8 @@ class MessageCommand : ICommand { } val returnMessage = ChatMessage.privateMessage(message, sender, receiver) - sender.sendCommandResult(returnMessage) - receiver.sendCommandResult(returnMessage) + sender.sendMessage(returnMessage) + receiver.sendMessage(returnMessage) return true }