This commit is contained in:
cdle
2023-06-04 14:30:54 +08:00
parent 2099b1af7a
commit 55c0895161
17 changed files with 248 additions and 304 deletions
+2 -2
View File
@@ -521,7 +521,7 @@ func (s *BaseSender) Await(message common.Sender, callback func(common.Sender) i
return v
}
}
c.Result <- fmt.Sprintf("请从%s中选择一个", strings.Join(vv, "、"))
c.Result <- fmt.Sprintf("请从%s中选择一个", strings.Join(vv, "、"))
} else if vv, ok := result.(Range); ok {
ct := s.GetContent()
n := utils.Int(ct)
@@ -531,7 +531,7 @@ func (s *BaseSender) Await(message common.Sender, callback func(common.Sender) i
return n
}
}
c.Result <- fmt.Sprintf("请从%d~%d中选择一个整数", vv[0], vv[1])
c.Result <- fmt.Sprintf("请从%d~%d中选择一个整数", vv[0], vv[1])
} else {
c.Result <- result
return s.GetContent()