mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
chore(lint): 改进代码样式 (#1083)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
37818acee1
commit
696a0ac99c
@ -173,9 +173,9 @@ func init() { // 插件主体
|
||||
if duration >= 43200 {
|
||||
duration = 43199 // qq禁言最大时长为一个月
|
||||
}
|
||||
ctx.SetThisGroupBan(
|
||||
math.Str2Int64(parsed[1].At()), // 要禁言的人的qq
|
||||
duration*60, // 要禁言的时间(分钟)
|
||||
ctx.SetThisGroupBan(
|
||||
math.Str2Int64(parsed[1].At()), // 要禁言的人的qq
|
||||
duration*60, // 要禁言的时间(分钟)
|
||||
)
|
||||
ctx.SendChain(message.Text("小黑屋收留成功~"))
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user