Skip to content

Commit de4ac10

Browse files
committed
fix send image
1 parent 4da30e8 commit de4ac10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/bot/api_handler.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ package bot
22

33
import (
44
"bytes"
5+
_ "image/gif" // 用于解决发不出图片的问题
6+
_ "image/jpeg"
7+
_ "image/png"
58
"math"
69
"strconv"
710
_ "unsafe"

0 commit comments

Comments
 (0)