mirror of
https://github.com/Murasame-Dev/McStatus-API.git
synced 2025-12-17 13:47:58 +00:00
feat: image generater support.
This commit is contained in:
parent
099a79fe5f
commit
e9b2033c3e
5 changed files with 133 additions and 347 deletions
|
|
@ -68,3 +68,12 @@ def format_bedrock_index():
|
|||
}
|
||||
|
||||
return message
|
||||
|
||||
# 生成服务器状态图片参数为空值
|
||||
def format_img_index():
|
||||
message = {
|
||||
"message": "缺少参数或参数错误",
|
||||
"usage": "/img?ip=<IP>&type=<java|bedrock> - (Required)"
|
||||
}
|
||||
|
||||
return message
|
||||
Loading…
Add table
Add a link
Reference in a new issue