mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
修复.unban
This commit is contained in:
parent
93deb2b1be
commit
b6b2f2e2a6
@ -296,6 +296,10 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能
|
||||
|
||||
## 更新
|
||||
|
||||
### 2022/12/13
|
||||
|
||||
* 修复.unban
|
||||
|
||||
### 2022/12/12
|
||||
|
||||
* 修改HTML帮助禁用提示文本错误
|
||||
|
||||
@ -88,7 +88,7 @@ def ImageList(msg: Optional[str] = None, contain_reply: bool = True) -> List[str
|
||||
return Depends(dependency)
|
||||
|
||||
|
||||
def AtList(msg: Optional[str] = None, contain_reply: bool = True) -> List[str]:
|
||||
def AtList(msg: Optional[str] = None, contain_reply: bool = True) -> List[int]:
|
||||
"""
|
||||
说明:
|
||||
获取at列表(包括回复时),含有msg时不能为空,为空时提示并结束事件
|
||||
@ -97,7 +97,7 @@ def AtList(msg: Optional[str] = None, contain_reply: bool = True) -> List[str]:
|
||||
:param contain_reply: 包含回复内容
|
||||
"""
|
||||
async def dependency(matcher: Matcher, event: MessageEvent):
|
||||
return await _match(matcher, event, msg, get_message_at, contain_reply)
|
||||
return [int(x) for x in await _match(matcher, event, msg, get_message_at, contain_reply)]
|
||||
|
||||
return Depends(dependency)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user