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:
parent
39bea4b399
commit
72ffc08b72
@ -499,13 +499,13 @@ func ParseMessageElems(elems []*msg.Elem) []IMessageElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if face.Name == "[猜拳]" {
|
if face.Name == "[猜拳]" {
|
||||||
v := strings.SplitN(face.MagicValue, "=", 2)[1]
|
v := strings.SplitN(face.MagicValue, "=", 2)[1]
|
||||||
t, _ := strconv.ParseInt(v, 10, 32)
|
t, _ := strconv.ParseInt(v, 10, 32)
|
||||||
return []IMessageElement{
|
return []IMessageElement{
|
||||||
&FingerGuessingElement{
|
&FingerGuessingElement{
|
||||||
MarketFaceElement: face,
|
MarketFaceElement: face,
|
||||||
Value: int32(t),
|
Value: int32(t),
|
||||||
Name : fingerGuessingName[int32(t)],
|
Name: fingerGuessingName[int32(t)],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user