<commit_before>require 'time'
require 'cinch'
require 'time_diff'

dayLastSaid = Time.now

bot = Cinch::Bot.new do
    configure do |c|
        raise "Environment Variable for Server not Set." unless ENV.has_key?("server")
        raise "Environment Variable for Channel not Set." unless ENV.has_key?("channel")
        c.server   = ENV['server']
        c.channels = [ENV['channel']]
        c.nick = ENV['neatbot_name'] ||"NeatBot"
    end

    on :channel, /\b[Nn][Ee][Aa][Tt]\b/ do |m|
        if m.user.nick!="NeatBot"
            now = Time.now
            time_diff = Time.diff(dayLastSaid, now, '%y, %M, %w, %d, %H, %M, and %S')
            dayLastSaid = now
            m.reply "It has been #{time_diff[:diff]} since the last neat. #{m.user.nick} fucked it up."
        end
    end
end

bot.start<commit_msg>fixed mistype that was not alloting for minute syntax<commit_after>require 'time'
require 'cinch'
require 'time_diff'

dayLastSaid = Time.now

bot = Cinch::Bot.new do
    configure do |c|
        raise "Environment Variable for Server not Set." unless ENV.has_key?("server")
        raise "Environment Variable for Channel not Set." unless ENV.has_key?("channel")
        c.server   = ENV['server']
        c.channels = [ENV['channel']]
        c.nick = ENV['neatbot_name'] ||"NeatBot"
    end

    on :channel, /\b[Nn][Ee][Aa][Tt]\b/ do |m|
        if m.user.nick!="NeatBot"
            now = Time.now
            time_diff = Time.diff(dayLastSaid, now, '%y, %M, %w, %d, %H, %N, and %S')
            dayLastSaid = now
            m.reply "It has been #{time_diff[:diff]} since the last neat. #{m.user.nick} fucked it up."
        end
    end
end

bot.start
{'fraction_non_alphanumeric': 0.14575866188769415, 'fraction_numerical': 0.0, 'mean_word_length': 2.4968684759916493, 'pattern_counts': {'":': 0, '<': 3, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '686983', 'n_tokens_mistral': 589, 'n_tokens_neox': 580, 'n_words': 165}