Merge pull request #414 from nonebot/remove-print

remove unnecessary print
This commit is contained in:
Ju4tCode 2021-06-20 09:58:19 +08:00 committed by GitHub
commit 7879346ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 17 deletions

View File

@ -208,7 +208,7 @@ sidebarDepth: 0
## _class_ `MessageSegment`
基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.TM`]
基类:[`nonebot.adapters._base.MessageSegment`](README.md#nonebot.adapters._base.MessageSegment)[`Message`]
钉钉 协议 MessageSegment 适配。具体方法参考协议消息段类型或源码。

View File

@ -727,7 +727,7 @@ mirai-api-http 正向 Websocket 协议 Bot 适配。
## _class_ `MessageSegment`
基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.TM`]
基类:[`nonebot.adapters._base.MessageSegment`](README.md#nonebot.adapters._base.MessageSegment)[`MessageChain`]
Mirai-API-HTTP 协议 MessageSegment 适配。具体方法参考 [mirai-api-http 消息类型](https://github.com/project-mirai/mirai-api-http/blob/master/docs/MessageType.md)
@ -1078,7 +1078,6 @@ mirai-api-http 协议事件,字段与 mirai-api-http 一致。各事件字段
* **说明**
用户权限枚举类
>
@ -1091,6 +1090,7 @@ mirai-api-http 协议事件,字段与 mirai-api-http 一致。各事件字段
> * `MEMBER`: 普通群成员
## _class_ `MessageEvent`
基类:`nonebot.adapters.mirai.event.base.Event`
@ -1467,7 +1467,6 @@ Bot被邀请入群申请
* **说明**
用户权限枚举类
>
@ -1480,6 +1479,7 @@ Bot被邀请入群申请
> * `MEMBER`: 普通群成员
## _class_ `Event`
基类:[`nonebot.adapters._base.Event`](README.md#nonebot.adapters._base.Event)

View File

@ -197,8 +197,6 @@ class PluginFinder(MetaPathFinder):
origin_spec.origin)
newname = manager._rewrite_module_name(rel_name or fullname)
print("RESULT::::::", newname, rel_name or fullname, rel_name,
fullname, origin_spec and origin_spec.origin)
if newname:
spec = PathFinder.find_spec(
newname, path or [*manager.search_path, *sys.path],