<commit_before>
import re

def on_message(msg, server):
    cid = msg.get("channel", "")
    if cid == "":
        return
    
    channel = server.slack.server.channels.find(cid)
    if (channel.name != "idnres-pengumuman") and (channel.name != "passcode"):
        return
    
    text = msg.get("text", "")
    for row in server.query("SELECT chat_id FROM tg_id"):
        chat_id = row[0]
        server.tg_bot.sendMessage(chat_id=chat_id, text=text)
    
    return<commit_msg>override everyone tag to broadcast for uzzbot broadcasting<commit_after>
import re

def on_message(msg, server):
    cid = msg.get("channel", "")
    if cid == "":
        return
    
    channel = server.slack.server.channels.find(cid)
    if (channel.name != "idnres-pengumuman") and (channel.name != "passcode"):
        return
    
    text = msg.get("text", "")
    
    # replace @everyone with !broadcasst for uzzbot
    text = text.replace("@everyone","!broadcast")
    
    for row in server.query("SELECT chat_id FROM tg_id"):
        chat_id = row[0]
        server.tg_bot.sendMessage(chat_id=chat_id, text=text)
    
    return
{'fraction_non_alphanumeric': 0.13559322033898305, 'fraction_numerical': 0.001784121320249777, 'mean_word_length': 2.7525083612040135, 'pattern_counts': {'":': 2, '<': 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': '5190673', 'n_tokens_mistral': 377, 'n_tokens_neox': 381, 'n_words': 82}