1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-06-18 21:45:04 +08:00

ci(chore): Fix stylings

This commit is contained in:
github-actions[bot] 2021-12-18 09:39:50 +00:00
parent 39bea4b399
commit 72ffc08b72

View File

@ -499,13 +499,13 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
}
}
if face.Name == "[猜拳]" {
v := strings.SplitN(face.MagicValue, "=", 2)[1]
v := strings.SplitN(face.MagicValue, "=", 2)[1]
t, _ := strconv.ParseInt(v, 10, 32)
return []IMessageElement{
&FingerGuessingElement{
MarketFaceElement: face,
Value: int32(t),
Name : fingerGuessingName[int32(t)],
Value: int32(t),
Name: fingerGuessingName[int32(t)],
},
}
}