<commit_before>#!/usr/bin/env python
# coding=utf-8

import random


def hoichat(phenny, input):
    """
    Hoi chat
    """
    greetings = ['Hoi', 'Hallo', 'Hey', 'Dag', 'Wees gegroet,', 'Allo', 'Yo', 'Hai', 'Bonjour',
                 'Howdi', 'Hee']
    phenny.say("%s %s" % (random.choice(greetings), input.nick))


hoichat.rule = r'(?i)^(ho+i|ha+i|hello|hallo|hey)( chat| iedereen| phenny(fyxata)?|\!)?.*$'

if __name__ == '__main__':
    print __doc__.strip()<commit_msg>Don't say hi when users greet other users<commit_after>#!/usr/bin/env python
# coding=utf-8

import random


def hoichat(phenny, input):
    """
    Hoi chat
    """
    greetings = ['Hoi', 'Hallo', 'Hey', 'Dag', 'Wees gegroet,', 'Allo', 'Yo', 'Hai', 'Bonjour',
                 'Howdi', 'Hee']
    phenny.say("%s %s" % (random.choice(greetings), input.nick))


hoichat.rule = r'(?i)^(ho+i|ha+i|hello|hallo|hey)( chat| iedereen| phenny(fyxata)?|\!).*$'

if __name__ == '__main__':
    print __doc__.strip()
{'fraction_non_alphanumeric': 0.2233502538071066, 'fraction_numerical': 0.0020304568527918783, 'mean_word_length': 3.6952380952380954, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2049383', 'n_tokens_mistral': 421, 'n_tokens_neox': 405, 'n_words': 80}