From 88231594907732c20b7baf8616b545ee75a501e8 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:02:42 -0400 Subject: [PATCH] first: fix message type --- plugins/first/first.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/first/first.go b/plugins/first/first.go index 39f3063..007a1ef 100644 --- a/plugins/first/first.go +++ b/plugins/first/first.go @@ -214,7 +214,7 @@ func (p *FirstPlugin) register() { fmt.Sprintf("Deleted first entry: '%s' and set a random timer for when first will happen next.", fe.body)) return true }}, - {Kind: bot.Message, IsCmd: false, + {Kind: bot.Any, IsCmd: false, Regex: regexp.MustCompile(`.*`), Handler: func(r bot.Request) bool { if r.Msg.IsIM || !p.enabled || !p.enabled_channel(r) {