mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 09:38:23 +08:00
commit
36d0628e4f
@ -72,13 +72,15 @@ NoneBot2 的驱动框架 `Driver` 以及通信协议 `Adapter` 均可**自定义
|
|||||||
- [FastAPI](https://fastapi.tiangolo.com/)
|
- [FastAPI](https://fastapi.tiangolo.com/)
|
||||||
- [Quart](https://pgjones.gitlab.io/quart/) (异步 flask )
|
- [Quart](https://pgjones.gitlab.io/quart/) (异步 flask )
|
||||||
|
|
||||||
目前 NoneBot2 内置的协议适配:
|
目前 NoneBot2 官方维护的协议适配:
|
||||||
|
|
||||||
- [OneBot(CQHTTP) 协议](https://github.com/howmanybots/onebot/blob/master/README.md) (QQ 等)
|
- [OneBot(CQHTTP) 协议](https://github.com/howmanybots/onebot/blob/master/README.md) (QQ 等)
|
||||||
- [Mirai-API-HTTP 协议](https://github.com/project-mirai/mirai-api-http)
|
- [Mirai-API-HTTP 协议](https://github.com/project-mirai/mirai-api-http)
|
||||||
- [钉钉](https://ding-doc.dingtalk.com/document#/org-dev-guide/elzz1p)
|
- [钉钉](https://ding-doc.dingtalk.com/document#/org-dev-guide/elzz1p)
|
||||||
- [Telegram](https://core.telegram.org/bots/api) _计划中_
|
- [Telegram](https://core.telegram.org/bots/api) _计划中_
|
||||||
|
|
||||||
|
更多:[商店](https://v2.nonebot.dev/store.html)
|
||||||
|
|
||||||
## 即刻开始
|
## 即刻开始
|
||||||
|
|
||||||
~~完整~~文档可以在 [这里](https://v2.nonebot.dev/) 查看。
|
~~完整~~文档可以在 [这里](https://v2.nonebot.dev/) 查看。
|
||||||
@ -110,7 +112,7 @@ NoneBot2 的驱动框架 `Driver` 以及通信协议 `Adapter` 均可**自定义
|
|||||||
|
|
||||||
或者尝试 [文档镜像](https://nonebot2-vercel-mirror.vercel.app)
|
或者尝试 [文档镜像](https://nonebot2-vercel-mirror.vercel.app)
|
||||||
|
|
||||||
- 其他插件请查看 [插件商店](https://v2.nonebot.dev/plugin-store.html)
|
- 其他插件请查看 [商店](https://v2.nonebot.dev/store.html)
|
||||||
|
|
||||||
## 贡献
|
## 贡献
|
||||||
|
|
||||||
|
@ -141,7 +141,6 @@ export default {
|
|||||||
filteredBots() {
|
filteredBots() {
|
||||||
return this.bots.filter(bot => {
|
return this.bots.filter(bot => {
|
||||||
return (
|
return (
|
||||||
bot.id.indexOf(this.filterText || "") != -1 ||
|
|
||||||
bot.name.indexOf(this.filterText || "") != -1 ||
|
bot.name.indexOf(this.filterText || "") != -1 ||
|
||||||
bot.desc.indexOf(this.filterText || "") != -1 ||
|
bot.desc.indexOf(this.filterText || "") != -1 ||
|
||||||
bot.author.indexOf(this.filterText || "") != -1
|
bot.author.indexOf(this.filterText || "") != -1
|
||||||
|
@ -36,7 +36,8 @@ class NewFriendRequestEvent(RequestEvent):
|
|||||||
'eventId': self.event_id,
|
'eventId': self.event_id,
|
||||||
'groupId': self.group_id,
|
'groupId': self.group_id,
|
||||||
'fromId': self.from_id,
|
'fromId': self.from_id,
|
||||||
'operate': 0
|
'operate': 0,
|
||||||
|
'message': ''
|
||||||
})
|
})
|
||||||
|
|
||||||
async def reject(self,
|
async def reject(self,
|
||||||
@ -46,7 +47,7 @@ class NewFriendRequestEvent(RequestEvent):
|
|||||||
"""
|
"""
|
||||||
:说明:
|
:说明:
|
||||||
|
|
||||||
拒绝此人的好友申请
|
拒绝此人的好友申请
|
||||||
|
|
||||||
:参数:
|
:参数:
|
||||||
|
|
||||||
@ -135,7 +136,7 @@ class BotInvitedJoinGroupRequestEvent(RequestEvent):
|
|||||||
"""
|
"""
|
||||||
:说明:
|
:说明:
|
||||||
|
|
||||||
通过这份被邀请入群申请
|
通过这份被邀请入群申请
|
||||||
|
|
||||||
:参数:
|
:参数:
|
||||||
|
|
||||||
@ -153,7 +154,7 @@ class BotInvitedJoinGroupRequestEvent(RequestEvent):
|
|||||||
"""
|
"""
|
||||||
:说明:
|
:说明:
|
||||||
|
|
||||||
拒绝这份被邀请入群申请
|
拒绝这份被邀请入群申请
|
||||||
|
|
||||||
:参数:
|
:参数:
|
||||||
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
ENVIRONMENT=dev
|
ENVIRONMENT=dev
|
||||||
CUSTOM_CONFIG=common
|
CUSTOM_CONFIG=common
|
||||||
|
FASTAPI_RELOAD_DIRS=["test_plugins"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user