1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2015-10-21 23:52:37 -07:00
parent 7a2906409f
commit 5b3ef5e919

View file

@ -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) =