refactor: mcping command
This commit is contained in:
3 files changed
+62
-61
No files matched your search
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright © 2024 RTAkland
|
||||
* Author: RTAkland
|
||||
* Date: 2024/9/3
|
||||
*/
|
||||
|
||||
|
||||
package cn.rtast.fancybot.entity
|
||||
|
||||
data class MCPing(
|
||||
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,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user