diff --git a/coolq/bot.go b/coolq/bot.go index 320b80d..2d8e29b 100644 --- a/coolq/bot.go +++ b/coolq/bot.go @@ -5,7 +5,6 @@ import ( "encoding/gob" "encoding/hex" "fmt" - "github.com/gabriel-vasile/mimetype" "hash/crc32" "io" "os" @@ -14,6 +13,8 @@ import ( "sync" "time" + "github.com/gabriel-vasile/mimetype" + "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/client" "github.com/Mrs4s/MiraiGo/message" diff --git a/coolq/cqcode.go b/coolq/cqcode.go index 921c984..e7dce37 100644 --- a/coolq/cqcode.go +++ b/coolq/cqcode.go @@ -8,7 +8,6 @@ import ( xml2 "encoding/xml" "errors" "fmt" - "github.com/gabriel-vasile/mimetype" "io" "math/rand" "net/url" @@ -19,6 +18,8 @@ import ( "strings" "time" + "github.com/gabriel-vasile/mimetype" + "github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/utils"