<commit_before>require 'cinch'

module Cinch
  module Plugin
    module ClassMethods
      def ignore_ignored_users
        hook(:pre, for: [:match], method: :not_ignored_user?)
      end
    end
  end
end

module Plugins
  module Commands
    class BaseCommand
      # @param [Cinch::Message]
      # @return [Boolean] Whether the user who sent the message is ignored or not. (True if they are not ignored).
      def not_ignored_user?(msg)
        msg.reply('Hook method called')
        !Variables::Constants::IGNORED_USERS.include?(msg.user.nick)
      end
    end
  end
end<commit_msg>:bug: Remove debug code<commit_after>require 'cinch'

module Cinch
  module Plugin
    module ClassMethods
      def ignore_ignored_users
        hook(:pre, for: [:match], method: :not_ignored_user?)
      end
    end
  end
end

module Plugins
  module Commands
    class BaseCommand
      # @param [Cinch::Message]
      # @return [Boolean] Whether the user who sent the message is ignored or not. (True if they are not ignored).
      def not_ignored_user?(msg)
        !Variables::Constants::IGNORED_USERS.include?(msg.user.nick)
      end
    end

    class AuthorizedOnlyCommand < BaseCommand
      def not_igno
    end

    class OwnerOnlyCommand < BaseCommand

    end
  end
end
{'fraction_non_alphanumeric': 0.07764705882352942, 'fraction_numerical': 0.0, 'mean_word_length': 2.9021406727828745, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '919154', 'n_tokens_mistral': 389, 'n_tokens_neox': 386, 'n_words': 121}