chore(lint): 改进代码样式 (#1083)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-12-18 00:32:12 +09:00 committed by GitHub
parent 37818acee1
commit 696a0ac99c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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("小黑屋收留成功~"))
})