<commit_before>module Cinch
  module Plugins

    class Kill
      include Cinch::Plugin
      include Cinch::Extensions::Authentication

      set :help_msg, "!kill <bot_nick> - Tells bot to quit completely, you must specify correct <bot_nick>."

      enable_authentication

      match lambda { |m| /kill #{m.bot.nick}/ }

      def execute(m)
        @bot.debug "Executing quit command requested by #{m.user.name}"
        @bot.quit "I've been murdered by #{m.user.name}"
      end
    end

  end
end<commit_msg>make sure to match exact bot name for kill<commit_after>module Cinch
  module Plugins

    class Kill
      include Cinch::Plugin
      include Cinch::Extensions::Authentication

      set :help_msg, "!kill <bot_nick> - Tells bot to quit completely, you must specify correct <bot_nick>."

      enable_authentication

      match lambda { |m| /kill #{m.bot.nick}$/ }

      def execute(m)
        @bot.debug "Executing quit command requested by #{m.user.name}"
        @bot.quit "I've been murdered by #{m.user.name}"
      end
    end

  end
end
{'fraction_non_alphanumeric': 0.1007532956685499, 'fraction_numerical': 0.0, 'mean_word_length': 2.7038327526132404, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2455311', 'n_tokens_mistral': 328, 'n_tokens_neox': 311, 'n_words': 105}