update 0.1.4.3

This commit is contained in:
HibiKier
2022-03-03 00:18:59 +08:00
parent 0eb9f9fc6f
commit 067da9dc57
7 changed files with 33 additions and 5 deletions
+7
View File
@@ -75,6 +75,13 @@ class RequestManager(StaticData):
break
self.save()
def get_group_id(self, id_: int) -> Optional[int]:
"""
通过id获取群号
:param id_: id
"""
return self._data["group"].get(id_)
async def approve(self, bot: Bot, id_: int, type_: str) -> Optional[int]:
"""
同意请求