mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
fix #1989
This commit is contained in:
parent
588728aa62
commit
82ecf19480
@ -545,6 +545,9 @@ func (bot *CQBot) convertV11(elem msg.Element) (m any, ok bool, err error) {
|
|||||||
return
|
return
|
||||||
case "at":
|
case "at":
|
||||||
qq := elem.Get("qq")
|
qq := elem.Get("qq")
|
||||||
|
if qq == "" {
|
||||||
|
qq = elem.Get("target")
|
||||||
|
}
|
||||||
if qq == "all" {
|
if qq == "all" {
|
||||||
m = message.AtAll()
|
m = message.AtAll()
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user