We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a37cf1b commit 319c690Copy full SHA for 319c690
1 file changed
plugin/wife/wifegame.go
@@ -32,7 +32,6 @@ func init() {
32
class := 3
33
34
card := cards[rand.Intn(len(cards))]
35
-
36
pic, err := engine.GetLazyData("wives/"+card, true)
37
if err != nil {
38
logrus.Warnf("[wife] 猜老婆图片同步失败: %v,尝试读取本地文件...", err)
@@ -42,8 +41,6 @@ func init() {
42
41
return
43
}
44
45
- // ------------------------------------
46
47
work, name := card2name(card)
48
name = strings.ToLower(name)
49
img, _, err := image.Decode(bytes.NewReader(pic))
0 commit comments