Skip to content

Commit

Permalink
🔖 version 0.52.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Aug 25, 2024
1 parent 0b99866 commit 8998389
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/nonebot_plugin_alconna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
from .uniseg import SupportAdapterModule as SupportAdapterModule
from .extension import add_global_extension as add_global_extension

__version__ = "0.52.0"
__version__ = "0.52.1"

__plugin_meta__ = PluginMetadata(
name="Alconna 插件",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
from .config import Config

__plugin_meta__ = PluginMetadata(
name="help",
description="展示所有命令帮助",
usage="/help",
name="switch",
description="启用或禁用某个命令, 仅限超级用户使用",
usage="/enable & /disable",
type="application",
homepage="https://github.com/nonebot/plugin-alconna/blob/master/src/nonebot_plugin_alconna/builtins/plugins/help",
homepage="https://github.com/nonebot/plugin-alconna/blob/master/src/nonebot_plugin_alconna/builtins/plugins/switch",
config=Config,
supported_adapters=inherit_supported_adapters("nonebot_plugin_alconna"),
)
Expand Down
2 changes: 1 addition & 1 deletion src/nonebot_plugin_alconna/uniseg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
from .constraint import SupportAdapterModule as SupportAdapterModule
from .adapters import BUILDER_MAPPING, FETCHER_MAPPING, EXPORTER_MAPPING

__version__ = "0.52.0"
__version__ = "0.52.1"

__plugin_meta__ = PluginMetadata(
name="Universal Segment 插件",
Expand Down
8 changes: 3 additions & 5 deletions src/nonebot_plugin_alconna/uniseg/adapters/github/exporter.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from typing import Union

from nonebot.adapters import Bot, Event
from nonebot.adapters.github.event import IssueCommentCreated # type: ignore
from nonebot.adapters.github.event import CommitCommentCreated # type: ignore
from nonebot.adapters.github.message import Message, MessageSegment # type: ignore
from nonebot.adapters.github.event import ( # type: ignore
IssueCommentCreated, # type: ignore
CommitCommentCreated, # type: ignore
PullRequestReviewCommentCreated, # type: ignore
)
from nonebot.adapters.github.event import PullRequestReviewCommentCreated # type: ignore

from nonebot_plugin_alconna.uniseg.constraint import SupportScope
from nonebot_plugin_alconna.uniseg.segment import At, Text, Image
Expand Down

0 comments on commit 8998389

Please sign in to comment.