Skip to content

Commit 696a0ac

Browse files
chore(lint): 改进代码样式 (#1083)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 37818ac commit 696a0ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin/manager/manager.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ func init() { // 插件主体
173173
if duration >= 43200 {
174174
duration = 43199 // qq禁言最大时长为一个月
175175
}
176-
ctx.SetThisGroupBan(
177-
math.Str2Int64(parsed[1].At()), // 要禁言的人的qq
178-
duration*60, // 要禁言的时间(分钟)
176+
ctx.SetThisGroupBan(
177+
math.Str2Int64(parsed[1].At()), // 要禁言的人的qq
178+
duration*60, // 要禁言的时间(分钟)
179179
)
180180
ctx.SendChain(message.Text("小黑屋收留成功~"))
181181
})

0 commit comments

Comments
 (0)