Merge pull request #23 from gobwas/patch-1

Update webhook.go
This commit is contained in:
Syfaro 2015-09-14 07:45:18 -05:00
commit 3ce6dbabe0
2 changed files with 3 additions and 5 deletions

View file

@ -76,7 +76,7 @@ func main() {
log.Fatal(err)
}
bot.ListenForWebhook()
bot.ListenForWebhook("/"+bot.Token)
go http.ListenAndServeTLS("0.0.0.0:8443", "cert.pem", "key.pem", nil)
for update := range bot.Updates {