diff --git a/.gitignore b/.gitignore index 5041f303..55092729 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,5 @@ go.work # Running stub sig.bin qrcode.png +testgroup.png +testprivate.png diff --git a/main.go b/main.go index 2cac07d4..1c4fc54b 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ func main() { qqclient.GroupMessageEvent.Subscribe(func(client *client.QQClient, event *message.GroupMessage) { if event.ToString() == "114514" { - img, _ := os.ReadFile("./testgroup.png") + img, _ := os.ReadFile("testgroup.png") _, err := client.SendGroupMessage(event.GroupCode, []message.IMessageElement{&message.GroupImageElement{Stream: img}}) if err != nil { return