From c2623f1aa3638c988026b28f6a4131df6c61e0c6 Mon Sep 17 00:00:00 2001 From: mms Date: Fri, 22 Nov 2024 23:35:51 +0100 Subject: feat: allow to search for thread --- lib/chotto.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/chotto.rb') diff --git a/lib/chotto.rb b/lib/chotto.rb index 62e9a0d..61f149b 100644 --- a/lib/chotto.rb +++ b/lib/chotto.rb @@ -9,6 +9,9 @@ require_relative 'chotto/helpers' require_relative 'chotto/message' require_relative 'chotto/messages' require_relative 'chotto/ruleset' +require_relative 'chotto/token' +require_relative 'chotto/token_group' +require_relative 'chotto/message_thread' module Chotto class << self @@ -34,7 +37,7 @@ module Chotto end def rule_set(name, &block) - @rule_sets << RuleSet.new(name, db, block) + @rule_sets << RuleSet.new(name, db, config.only_new, block) end def close_db -- cgit v1.2.3