Send hipchat message on startup (if configured). (#179)

+ If a valid hipchat configuration is provided, send a message when
  Red October has restarted.
+ If persistence is inactive, alert the channel that this is the case.
This commit is contained in:
Kyle Isom
2016-12-06 17:49:54 -08:00
committed by GitHub
parent 7c4413ab4a
commit a2cd47445f
2 changed files with 28 additions and 3 deletions
+3 -1
View File
@@ -39,10 +39,12 @@ type UI struct {
Static string `json:"static"`
}
// HipChat contains the settings for Hipchat integration.
// HipChat contains the settings for Hipchat integration. The ID is
// the name that should be used in the startup message.
type HipChat struct {
Host string `json:"host"`
Room string `json:"room"`
ID string `json:"id"`
APIKey string `json:"api_key"`
}