mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-01 15:49:05 +08:00
💩👌 make lint happy
This commit is contained in:
parent
180e03e249
commit
6678ca6c93
@ -74,7 +74,11 @@ func init() { // 插件主体
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctxext.SetDefaultLimiterManagerParam(time.Duration(m)*time.Second, int(n))
|
ctxext.SetDefaultLimiterManagerParam(time.Duration(m)*time.Second, int(n))
|
||||||
c.SetData(0, (m&0xffff)|((n<<16)&0xffff0000))
|
err = c.SetData(0, (m&0xffff)|((n<<16)&0xffff0000))
|
||||||
|
if err != nil {
|
||||||
|
ctx.SendChain(message.Text("ERROR:", err))
|
||||||
|
return
|
||||||
|
}
|
||||||
ctx.SendChain(message.Text("设置默认限速为每", m, "秒触发", n, "次"))
|
ctx.SendChain(message.Text("设置默认限速为每", m, "秒触发", n, "次"))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user