diff --git a/gosmee/client.go b/gosmee/client.go index 4a1ea22..5c9c810 100644 --- a/gosmee/client.go +++ b/gosmee/client.go @@ -289,6 +289,13 @@ func (c goSmee) clientSetup() error { return } + if string(msg.Event) == "ping" { + return + } /* Apparently github sends + * a ping every minute but it's not + * documented anywhere for some reason + */ + pm, err := c.parse(now, msg.Data) if err != nil { fmt.Fprintf(os.Stdout,