bugfixes and slash command implementation

This commit is contained in:
da
2016-04-24 14:20:20 +02:00
parent ea2a1f2627
commit cb592edddf
3 changed files with 23 additions and 7 deletions
+2
View File
@@ -54,6 +54,8 @@ func webhookHandler(w http.ResponseWriter, req *http.Request) {
UserName: req.Form.Get("user_name"),
Text: req.Form.Get("text"),
TriggerWord: req.Form.Get("trigger_word"),
Command: req.Form.Get("command"),
ResponseURL: req.Form.Get("response_url"),
}
modules.HandleMessage(&whp)
}