This commit is contained in:
cdle
2021-10-04 19:33:33 +08:00
parent 0f93b34ad1
commit 9a9286af5b
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -30,6 +30,7 @@ type Sender interface {
type Edit int
type Replace int
type Notify int
type Article []string
var E Edit
var R Replace
-1
View File
@@ -20,7 +20,6 @@ func init() {
if tp == "fake" && sillyGirl.GetBool("update_notify", false) == true { //
time.Sleep(time.Second * 10)
NotifyMasters("自动更新完成。")
return
}
msg := "重启完成。"
+1 -1
View File
@@ -65,7 +65,7 @@ func init() {
}
}
mediaID := ""
if url != "" {
if url != "" && len(ss) == 0 {
filename := file_dir + fmt.Sprint(time.Now().UnixNano()) + ".jpg"
err := func() error {
f, err := os.Create(filename)