🔀 Merge pull request #281

Fix: store bot display and readme
This commit is contained in:
Ju4tCode 2021-03-11 00:39:08 +08:00 committed by GitHub
commit 36d0628e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

View File

@ -72,13 +72,15 @@ NoneBot2 的驱动框架 `Driver` 以及通信协议 `Adapter` 均可**自定义
- [FastAPI](https://fastapi.tiangolo.com/)
- [Quart](https://pgjones.gitlab.io/quart/) (异步 flask )
目前 NoneBot2 内置的协议适配:
目前 NoneBot2 官方维护的协议适配:
- [OneBot(CQHTTP) 协议](https://github.com/howmanybots/onebot/blob/master/README.md) (QQ 等)
- [Mirai-API-HTTP 协议](https://github.com/project-mirai/mirai-api-http)
- [钉钉](https://ding-doc.dingtalk.com/document#/org-dev-guide/elzz1p)
- [Telegram](https://core.telegram.org/bots/api) _计划中_
更多:[商店](https://v2.nonebot.dev/store.html)
## 即刻开始
~~完整~~文档可以在 [这里](https://v2.nonebot.dev/) 查看。
@ -110,7 +112,7 @@ NoneBot2 的驱动框架 `Driver` 以及通信协议 `Adapter` 均可**自定义
或者尝试 [文档镜像](https://nonebot2-vercel-mirror.vercel.app)
- 其他插件请查看 [插件商店](https://v2.nonebot.dev/plugin-store.html)
- 其他插件请查看 [商店](https://v2.nonebot.dev/store.html)
## 贡献

View File

@ -141,7 +141,6 @@ export default {
filteredBots() {
return this.bots.filter(bot => {
return (
bot.id.indexOf(this.filterText || "") != -1 ||
bot.name.indexOf(this.filterText || "") != -1 ||
bot.desc.indexOf(this.filterText || "") != -1 ||
bot.author.indexOf(this.filterText || "") != -1

View File

@ -36,7 +36,8 @@ class NewFriendRequestEvent(RequestEvent):
'eventId': self.event_id,
'groupId': self.group_id,
'fromId': self.from_id,
'operate': 0
'operate': 0,
'message': ''
})
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):
"""
:说明:
拒绝这份被邀请入群申请
拒绝这份被邀请入群申请
:参数:

View File

@ -1,2 +1,3 @@
ENVIRONMENT=dev
CUSTOM_CONFIG=common
FASTAPI_RELOAD_DIRS=["test_plugins"]