feat: add mcping and help command

This commit is contained in:
2024-09-03 16:15:26 +08:00
parent ca7a9f5002
commit 00c9ae7a64
6 files changed
+135 -13

No files matched your search

@@ -0,0 +1,24 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/9/3
*/
package cn.rtast.fancybot.entity
data class MCPingResponse(
val version: Version,
val players: Players,
val favicon: String
) {
data class Version(
val protocol: Int,
val name: String,
)
data class Players(
val online: Int,
val max: Int,
)
}