<commit_before># -*- coding: utf-8 -*-
import time


class ping:

    def __init__(self, core, client):
        core.addCommandHandler("ping", self, chelp="Responde con pong.")
        core.addCommandHandler("pong", self, chelp="Responde con ping.")
        core.addCommandHandler("pig", self)
        core.addCommandHandler("lag", self, chelp="Mide el lag.")
        core.addHandler("ctcpreply", self, "pingrep")

    def pig(self, bot, cli, event):
        cli.notice(event.target, event.source +
                                ": ¿Quieres un cerdo? ¡Ve a mirarte al espejo!")

    def ping(self, bot, cli, event):
        cli.notice(event.target, event.source + ": pong")

    def pong(self, bot, cli, event):
        cli.notice(event.target, event.source + ": ping")

    def lag(self, bot, cli, event):
        current_milli_time = int(round(time.time() * 1000))
        cli.privmsg(event.source, "\1PING %s\1" % current_milli_time)<commit_msg>Ocultando pong.<commit_after># -*- coding: utf-8 -*-
import time


class ping:

    def __init__(self, core, client):
        core.addCommandHandler("ping", self, chelp="Responde con pong.")
        core.addCommandHandler("pong", self)
        core.addCommandHandler("pig", self)
        core.addCommandHandler("lag", self, chelp="Mide el lag.")
        core.addHandler("ctcpreply", self, "pingrep")

    def pig(self, bot, cli, event):
        cli.notice(event.target, event.source +
                                ": ¿Quieres un cerdo? ¡Ve a mirarte al espejo!")

    def ping(self, bot, cli, event):
        cli.notice(event.target, event.source + ": pong")

    def pong(self, bot, cli, event):
        cli.notice(event.target, event.source + ": ping")

    def lag(self, bot, cli, event):
        current_milli_time = int(round(time.time() * 1000))
        cli.privmsg(event.source, "\1PING %s\1" % current_milli_time)
{'fraction_non_alphanumeric': 0.15154749199573106, 'fraction_numerical': 0.007470651013874066, 'mean_word_length': 2.7575150300601203, 'pattern_counts': {'":': 6, '<': 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': '1316126', 'n_tokens_mistral': 654, 'n_tokens_neox': 605, 'n_words': 145}