feat: add option -mirror

This commit is contained in:
源文雨
2024-05-05 03:06:56 +09:00
parent 4f193f4251
commit 1351a7edbe
4 changed files with 7 additions and 4 deletions

View File

@@ -182,6 +182,7 @@ import (
// //
// //
// -----------------------以下为内置依赖,勿动------------------------ //
"github.com/FloatTech/floatbox/file"
"github.com/FloatTech/floatbox/process"
"github.com/sirupsen/logrus"
zero "github.com/wdvxdr1123/ZeroBot"
@@ -222,6 +223,7 @@ func init() {
rsz := flag.Uint("r", 4096, "Receiving buffer ring size.")
maxpt := flag.Uint("x", 4, "Max process time (min).")
markmsg := flag.Bool("m", false, "Don't mark message as read automatically")
flag.BoolVar(&file.SkipOriginal, "mirror", false, "Use mirrored lazy data at first")
flag.Parse()