diff --git a/modules/webhook.go b/modules/webhook.go index 1212ae9..e79080b 100644 --- a/modules/webhook.go +++ b/modules/webhook.go @@ -38,7 +38,7 @@ func webhookHandleHTTP(w http.ResponseWriter, r *http.Request) { for k, v := range data { fmt.Printf("%s : %v\n", k, v) if k == "text" { - SayCh <- fmt.Printf("%s\n%v", *webhookChan, v) + SayCh <- fmt.Sprintf("%s\n%v", *webhookChan, v) } } }