diff options
author | mms <git@sapka.me> | 2024-11-22 23:35:51 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2024-11-22 23:37:42 +0100 |
commit | c2623f1aa3638c988026b28f6a4131df6c61e0c6 (patch) | |
tree | c9a685d2997214bcb90f3659febc56f7ac85cbbb /lib/chotto.rb | |
parent | 64ab548e16fdc8fa862e2b432464f3d67f5d9db8 (diff) |
feat: allow to search for thread
Diffstat (limited to 'lib/chotto.rb')
-rw-r--r-- | lib/chotto.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |