mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:12:14 +08:00
commit
53d98f3d2e
@ -278,5 +278,29 @@
|
|||||||
"desc": "用于让机器人撤回自己发出的消息",
|
"desc": "用于让机器人撤回自己发出的消息",
|
||||||
"author": "MeetWq",
|
"author": "MeetWq",
|
||||||
"repo": "https://github.com/MeetWq/nonebot-plugin-withdraw"
|
"repo": "https://github.com/MeetWq/nonebot-plugin-withdraw"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nonebot_plugin_pixivrank_search",
|
||||||
|
"link": "nonebot-plugin-pixivrank-search",
|
||||||
|
"name": "nonebot_plugin_pixivrank_search",
|
||||||
|
"desc": "基于RSSHUB阅读器的P站排行和P站搜图",
|
||||||
|
"author": "HibiKier",
|
||||||
|
"repo": "https://github.com/HibiKier/nonebot_plugin_pixivrank_search"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nonebot_plugin_russian",
|
||||||
|
"link": "nonebot-plugin-russian",
|
||||||
|
"name": "nonebot_plugin_russian",
|
||||||
|
"desc": "群内小游戏,使用金币赌注的俄罗斯轮盘",
|
||||||
|
"author": "HibiKier",
|
||||||
|
"repo": "https://github.com/HibiKier/nonebot_plugin_russian"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nonebot_plugin_statistical",
|
||||||
|
"link": "nonebot-plugin-statistical",
|
||||||
|
"name": "nonebot_plugin_statistical",
|
||||||
|
"desc": "一个简单的功能调用统计以及可视化插件",
|
||||||
|
"author": "HibiKier",
|
||||||
|
"repo": "https://github.com/HibiKier/nonebot_plugin_statistical"
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -95,6 +95,7 @@ class SessionManager:
|
|||||||
"""
|
"""
|
||||||
files = {k: v for k, v in params.items() if isinstance(v, BytesIO)}
|
files = {k: v for k, v in params.items() if isinstance(v, BytesIO)}
|
||||||
form = {k: v for k, v in params.items() if k not in files}
|
form = {k: v for k, v in params.items() if k not in files}
|
||||||
|
form['sessionKey'] = self.session_key
|
||||||
response = await self.client.post(
|
response = await self.client.post(
|
||||||
path,
|
path,
|
||||||
data=form,
|
data=form,
|
||||||
|
Loading…
Reference in New Issue
Block a user