Skip to content

Commit

Permalink
chore(lint): 改进代码样式 (#1083)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Dec 17, 2024
1 parent 37818ac commit 696a0ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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("小黑屋收留成功~"))
})
Expand Down

0 comments on commit 696a0ac

Please sign in to comment.