nonebot-plugin-shiro-web-console 0.1.8__py3-none-any.whl → 0.1.9__py3-none-any.whl
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.
Potentially problematic release.
This version of nonebot-plugin-shiro-web-console might be problematic. Click here for more details.
- nonebot_plugin_shiro_web_console/__init__.py +3 -3
- {nonebot_plugin_shiro_web_console-0.1.8.dist-info → nonebot_plugin_shiro_web_console-0.1.9.dist-info}/METADATA +1 -1
- nonebot_plugin_shiro_web_console-0.1.9.dist-info/RECORD +7 -0
- nonebot_plugin_shiro_web_console-0.1.8.dist-info/RECORD +0 -7
- {nonebot_plugin_shiro_web_console-0.1.8.dist-info → nonebot_plugin_shiro_web_console-0.1.9.dist-info}/WHEEL +0 -0
- {nonebot_plugin_shiro_web_console-0.1.8.dist-info → nonebot_plugin_shiro_web_console-0.1.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -16,7 +16,7 @@ from collections import deque
|
|
|
16
16
|
from fastapi import FastAPI, WebSocket, WebSocketDisconnect, Request, Response, Depends, HTTPException
|
|
17
17
|
from fastapi.staticfiles import StaticFiles
|
|
18
18
|
from fastapi.responses import HTMLResponse, JSONResponse, FileResponse
|
|
19
|
-
from nonebot import get_app, get_bot, get_bots, get_driver, logger, on_message, on_command, require
|
|
19
|
+
from nonebot import get_app, get_bot, get_bots, get_driver, logger, on_message, on_command, require
|
|
20
20
|
import nonebot_plugin_localstore
|
|
21
21
|
from .config import Config, config
|
|
22
22
|
from nonebot.permission import SUPERUSER
|
|
@@ -35,7 +35,7 @@ __plugin_meta__ = PluginMetadata(
|
|
|
35
35
|
supported_adapters={"~onebot.v11"},
|
|
36
36
|
extra={
|
|
37
37
|
"author": "luojisama",
|
|
38
|
-
"version": "0.1.
|
|
38
|
+
"version": "0.1.9",
|
|
39
39
|
"pypi_test": "nonebot-plugin-shiro-web-console",
|
|
40
40
|
},
|
|
41
41
|
)
|
|
@@ -447,7 +447,7 @@ async def on_api_called(bot: Bot, exception: Optional[Exception], api: str, data
|
|
|
447
447
|
except Exception as e:
|
|
448
448
|
logger.error(f"处理 Bot 发送消息 Hook 失败: {e}")
|
|
449
449
|
|
|
450
|
-
@on_bot_connect
|
|
450
|
+
@driver.on_bot_connect
|
|
451
451
|
async def _(bot: Bot):
|
|
452
452
|
if hasattr(bot, "on_called_api"):
|
|
453
453
|
bot.on_called_api(on_api_called)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nonebot-plugin-shiro-web-console
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: 一个用于 NoneBot2 的网页控制台插件,支持通过浏览器查看日志和发送消息
|
|
5
5
|
Project-URL: Homepage, https://github.com/luojisama/nonebot-plugin-shiro-web-console
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/luojisama/nonebot-plugin-shiro-web-console/issues
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
nonebot_plugin_shiro_web_console/__init__.py,sha256=fVHe5spU8pL3Ijg2HgF3k5oR9v6ZQ3dLiaIPpviZ34o,41225
|
|
2
|
+
nonebot_plugin_shiro_web_console/config.py,sha256=LqHht8N5CuSMyBbEjzyJgfZtg05cvBlpGn_2MgTjt-g,202
|
|
3
|
+
nonebot_plugin_shiro_web_console/static/index.html,sha256=47BThvsWr9LSgz61f6jSMD6tBj83nPQqltl2_6vahgM,80258
|
|
4
|
+
nonebot_plugin_shiro_web_console-0.1.9.dist-info/METADATA,sha256=8iSuWlmyiiLUwW0K8iBsObH28NOMPR4paVbxlZYi9t8,1979
|
|
5
|
+
nonebot_plugin_shiro_web_console-0.1.9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
nonebot_plugin_shiro_web_console-0.1.9.dist-info/licenses/LICENSE,sha256=WedEfsrQQfoZsmbJHIAPn4UY_IcpavYULMV5in_ZPbg,1066
|
|
7
|
+
nonebot_plugin_shiro_web_console-0.1.9.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
nonebot_plugin_shiro_web_console/__init__.py,sha256=m9Qx-OSgUvy21BgOfG5sTH-vaqjOPZI3nmo6gPsoXts,41234
|
|
2
|
-
nonebot_plugin_shiro_web_console/config.py,sha256=LqHht8N5CuSMyBbEjzyJgfZtg05cvBlpGn_2MgTjt-g,202
|
|
3
|
-
nonebot_plugin_shiro_web_console/static/index.html,sha256=47BThvsWr9LSgz61f6jSMD6tBj83nPQqltl2_6vahgM,80258
|
|
4
|
-
nonebot_plugin_shiro_web_console-0.1.8.dist-info/METADATA,sha256=jbxZZave9tJAUdTqcwJ4d0CaW43PqsDpPRNWy_NC0C8,1979
|
|
5
|
-
nonebot_plugin_shiro_web_console-0.1.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
nonebot_plugin_shiro_web_console-0.1.8.dist-info/licenses/LICENSE,sha256=WedEfsrQQfoZsmbJHIAPn4UY_IcpavYULMV5in_ZPbg,1066
|
|
7
|
-
nonebot_plugin_shiro_web_console-0.1.8.dist-info/RECORD,,
|
|
File without changes
|