diff --git a/plugins/roles/roles.go b/plugins/roles/roles.go index cecbb82..b8efb4e 100644 --- a/plugins/roles/roles.go +++ b/plugins/roles/roles.go @@ -46,10 +46,9 @@ func (p *RolesPlugin) Register() { Handler: p.lsRoles, }, { - Kind: bot.Help, IsCmd: true, - Regex: regexp.MustCompile(`.`), - HelpText: "Lists roles with an optional offering set specifier", - Handler: p.lsRoles, + Kind: bot.Message, IsCmd: true, + Regex: regexp.MustCompile(`(?i)^setoffering (?P.+)$`), + Handler: p.setOffering, }, } p.b.Register(p, bot.Help, func(c bot.Connector, k bot.Kind, m msg.Message, args ...any) bool {