Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
lgc2333 committed Oct 13, 2023
1 parent 900995c commit dd0f32c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 91 deletions.
18 changes: 6 additions & 12 deletions nonebot_plugin_picmcstat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from nonebot.plugin import PluginMetadata
from nonebot.plugin import PluginMetadata, inherit_supported_adapters, require

from . import __main__ as __main__
from .config import ConfigClass
require("nonebot_plugin_saa")

from . import __main__ as __main__ # noqa: E402
from .config import ConfigClass # noqa: E402

__version__ = "0.4.0"
__plugin_meta__ = PluginMetadata(
Expand All @@ -11,14 +13,6 @@
homepage="https://github.com/lgc-NB2Dev/nonebot-plugin-picmcstat",
type="application",
config=ConfigClass,
supported_adapters={
"~onebot.v11",
"~onebot.v12",
"~kaiheila",
"~qqguild",
"~telegram",
"~feishu",
"~red",
},
supported_adapters=inherit_supported_adapters("nonebot_plugin_saa"),
extra={"License": "MIT", "Author": "student_2333"},
)
81 changes: 7 additions & 74 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
[project]
name = "nonebot-plugin-picmcstat"
version = "0.4.0.post1"
version = "0.4.0.post2"
description = "A NoneBot2 plugin generates a pic from a Minecraft server's MOTD"
authors = [{ name = "student_2333", email = "[email protected]" }]
dependencies = [
"nonebot2>=2.1.1",
"nonebot-plugin-send-anything-anywhere>=0.3.2",
"pydantic>=1.10.4,<2",
"mcstatus>=10.0.1",
"nonebot2>=2.0.0",
"nonebot-adapter-onebot>=2.2.0",
"pydantic>=1.10.4",
"pil-utils>=0.1.6",
"punycode>=0.2.1",
"nonebot-plugin-send-anything-anywhere>=0.3.0",
]
requires-python = ">=3.8,<4.0"
readme = "README.md"
Expand Down

0 comments on commit dd0f32c

Please sign in to comment.