mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
🎨 启用linter
This commit is contained in:
@@ -6,9 +6,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
utils "github.com/Yiwen-Chan/ZeroBot-Plugin/setutime/utils"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
"github.com/wdvxdr1123/ZeroBot/message"
|
||||
|
||||
utils "github.com/Yiwen-Chan/ZeroBot-Plugin/setutime/utils"
|
||||
)
|
||||
|
||||
func init() { // 插件主体
|
||||
|
||||
@@ -6,9 +6,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/Yiwen-Chan/ZeroBot-Plugin/setutime/utils"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
"github.com/wdvxdr1123/ZeroBot/extension/rate"
|
||||
|
||||
"github.com/Yiwen-Chan/ZeroBot-Plugin/setutime/utils"
|
||||
)
|
||||
|
||||
var limit = rate.NewManager(time.Minute*1, 5)
|
||||
|
||||
Reference in New Issue
Block a user