From a0098a771ebd8b7afcda5390d5b110c4ed6457ac Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Fri, 17 Sep 2021 15:58:35 +0800 Subject: [PATCH] update --- im/qq/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/im/qq/main.go b/im/qq/main.go index 041c43f..6380122 100644 --- a/im/qq/main.go +++ b/im/qq/main.go @@ -213,7 +213,7 @@ func init() { } bot.Client.OnPrivateMessage(onPrivateMessage) bot.Client.OnGroupMessage(OnGroupMessage) - if qq.Get("self", "true") == "true" { + if qq.Get("onself", "true") == "true" { bot.Client.OnSelfPrivateMessage(onPrivateMessage) bot.Client.OnSelfGroupMessage(OnGroupMessage) }