mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix: make linter happy
This commit is contained in:
parent
b8fe459c75
commit
a10aee8c8d
@ -813,8 +813,7 @@ func (bot *CQBot) uploadForwardElement(m gjson.Result, groupID int64) *message.F
|
||||
return elems
|
||||
}
|
||||
|
||||
var convert func(e gjson.Result) *message.ForwardNode
|
||||
convert = func(e gjson.Result) *message.ForwardNode {
|
||||
convert := func(e gjson.Result) *message.ForwardNode {
|
||||
if e.Get("type").Str != "node" {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user