🔀 Merge pull request #407

修复Mirai加群通过时报错
This commit is contained in:
Ju4tCode 2021-06-11 23:02:57 +08:00 committed by GitHub
commit b42cafafd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View File

@ -16,5 +16,17 @@
"desc": "在QQ获取/处理Github repo/pr/issue", "desc": "在QQ获取/处理Github repo/pr/issue",
"author": "yanyongyu", "author": "yanyongyu",
"repo": "cscs181/QQ-GitHub-Bot" "repo": "cscs181/QQ-GitHub-Bot"
},
{
"name": "YanXiBot",
"desc": "动漫资源查找与娱乐机器人",
"author": "Melodyknit",
"repo": "https://github.com/Melodyknit/YanXiBot"
},
{
"name": "绪山真寻bot",
"desc": "含有不少的娱乐功能同时稍稍有一些实用的功能 :P",
"author": "HibiKier",
"repo": "https://github.com/HibiKier/zhenxun_bot"
} }
] ]

View File

@ -259,7 +259,7 @@
"id": "nonebot_plugin_gamedraw", "id": "nonebot_plugin_gamedraw",
"link": "nonebot-plugin-gamedraw", "link": "nonebot-plugin-gamedraw",
"name": "nonebot_plugin_gamedraw", "name": "nonebot_plugin_gamedraw",
"desc": "基于爬取bwiki实现自动更新的抽卡目前支持赛马娘原神明日方舟坎公骑冠剑公主连结(国服),碧蓝航线", "desc": "基于爬取wiki实现自动更新的抽卡目前支持赛马娘原神明日方舟坎公骑冠剑公主连结(国/台)碧蓝航线FGO阴阳师",
"author": "HibiKier", "author": "HibiKier",
"repo": "https://github.com/HibiKier/nonebot_plugin_gamedraw" "repo": "https://github.com/HibiKier/nonebot_plugin_gamedraw"
}, },

View File

@ -91,7 +91,8 @@ class MemberJoinRequestEvent(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,
@ -147,7 +148,8 @@ class BotInvitedJoinGroupRequestEvent(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, bot: "Bot", message: str = ""): async def reject(self, bot: "Bot", message: str = ""):