diff --git a/demo.go b/demo.go index 2e2f47c..6f568c5 100644 --- a/demo.go +++ b/demo.go @@ -54,6 +54,7 @@ func handleDemoAlert(w http.ResponseWriter, r *http.Request) { data = map[string]interface{}{ "from": demoIssuer, "is_resub": false, + "message": "", "paid_for": "1", "streak": "1", "tier": "1000", @@ -65,6 +66,7 @@ func handleDemoAlert(w http.ResponseWriter, r *http.Request) { data = map[string]interface{}{ "from": demoIssuer, "is_resub": true, + "message": "Already 12 months! PogChamp", "paid_for": "1", "streak": "12", "tier": "1000", diff --git a/irc.go b/irc.go index 513756b..a3f549d 100644 --- a/irc.go +++ b/irc.go @@ -255,6 +255,7 @@ func (ircHandler) handleTwitchUsernotice(m *irc.Message) { fields := map[string]interface{}{ "from": displayName, "is_resub": m.Tags["msg-id"] == "resub", + "message": m.Trailing(), "paid_for": m.Tags["msg-param-multimonth-duration"], "streak": m.Tags["msg-param-streak-months"], "tier": m.Tags["msg-param-sub-plan"],