This commit is contained in:
cdle
2021-10-11 18:27:10 +08:00
parent 39fca4e1ab
commit 6c6263bea8
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ func AddCommand(prefix string, cmds []Function) {
func handleMessage(sender Sender) {
defer sender.Finish()
key := fmt.Sprintf("u=%v&c=%v&i=%v", sender.GetUserID(), sender.GetChatID(), sender.GetImType())
fmt.Println(key, sender.GetContent())
fmt.Println(waits.Load(key))
// fmt.Println(key, sender.GetContent())
// fmt.Println(waits.Load(key))
if v, ok := waits.Load(key); ok {
c := v.(Carry)