This commit is contained in:
cdle
2021-10-11 17:37:49 +08:00
parent 2e1b8131aa
commit b3f0dbffcd
+1 -1
View File
@@ -81,7 +81,7 @@ 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)
fmt.Println(key,sender.GetContent()
fmt.Println(waits.Load(key))
if v, ok := waits.Load(key); ok {
c := v.(Carry)