nonebot-plugin-mccheck 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (15) hide show
  1. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/PKG-INFO +1 -1
  2. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/configs.py +1 -1
  3. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/utils.py +1 -1
  4. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/pyproject.toml +1 -1
  5. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/LICENSE +0 -0
  6. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/README.md +0 -0
  7. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/__init__.py +0 -0
  8. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/language.json +0 -0
  9. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/Minecraft_AE.ttf +0 -0
  10. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/README.md +0 -0
  11. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/background.png +0 -0
  12. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/default.html +0 -0
  13. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/imagelesshoverbg.png +0 -0
  14. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/main.css +0 -0
  15. {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.3}/nonebot_plugin_mccheck/templates/no_favicon.png +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nonebot-plugin-mccheck
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Minecraft服务器状态查询的nonebot插件,支持IPv6/Minecraft server status query plugin for nonebot, IPv6 supported
5
5
  License: GPL-3.0
6
6
  License-File: LICENSE
@@ -28,4 +28,4 @@ def readInfo(file: str) -> dict:
28
28
  message_type = config.type
29
29
  lang = config.language
30
30
  lang_data = readInfo("language.json")
31
- VERSION = "0.3.2"
31
+ VERSION = "0.3.3"
@@ -54,7 +54,7 @@ async def build_result(
54
54
  """
55
55
  favicon = getattr(ms, "icon", None)
56
56
  delay = round(ms.latency)
57
- version = f"{ms.version.name} " + getattr(ms, "map_name", "")
57
+ version = f"{ms.version.name} " + (getattr(ms, "map_name", None) or "")
58
58
  protocol_version = ms.version.protocol
59
59
  gamemode = getattr(ms, "gamemode", None)
60
60
  players = f"{ms.players.online}/{ms.players.max}"
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "nonebot-plugin-mccheck"
3
- version = "0.3.2"
3
+ version = "0.3.3"
4
4
  description = "Minecraft服务器状态查询的nonebot插件,支持IPv6/Minecraft server status query plugin for nonebot, IPv6 supported"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"