diff --git a/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt b/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt index 432caf3d..569b9fe1 100644 --- a/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt +++ b/src/main/kotlin/com/beust/kobalt/internal/remote/PingCommand.kt @@ -2,6 +2,14 @@ package com.beust.kobalt.internal.remote import com.google.gson.JsonObject +/** + * A simple command that returns its own content. + * Payload: + * { + * "name" : "ping" + * } + * + */ class PingCommand() : ICommand { override val name = "ping" override fun run(sender: ICommandSender, received: JsonObject) =