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) }