Skip to content

Commit

Permalink
chore: add testing ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed May 7, 2024
1 parent 1b3a26d commit ea425b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ go.work
# Running stub
sig.bin
qrcode.png
testgroup.png
testprivate.png
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea425b8

Please sign in to comment.