<commit_before>import random
from stickord.registry import Command

@Command("8ball", category="Spork")
async def eightball(cont, mesg):
    '''The wise magic 8-ball will know what to do with whatever query you might have'''
    with open("eightball_responses.txt", "r") as f:
        response = random.choice(f.readlines())
    return response

@Command(['flip', 'coinflip', 'muntje'], category="Spork")
async def flipcoin(cont, mesg):
    '''Flip a coin: Heads, Tails? Some fine dispute settling here'''
    return random.choice(['Heads', 'Tails'])<commit_msg>better 8ball<commit_after>import random
from stickord.registry import Command

@Command("8ball", category="Spork")
async def eightball(cont, mesg):
    '''The wise magic 8-ball will know what to do with whatever query you might have'''
    with open("eightball_responses.txt", "r") as f:
        response = mesg.author.mention + ", the magic 8-ball has spoken!: " + random.choice(f.readlines())
    return response

@Command(['flip', 'coinflip', 'muntje'], category="Spork")
async def flipcoin(cont, mesg):
    '''Flip a coin: Heads, Tails? Some fine dispute settling here'''
    return random.choice(['Heads', 'Tails'])
{'fraction_non_alphanumeric': 0.14382402707275804, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 4.885572139303482, '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': '4091423', 'n_tokens_mistral': 364, 'n_tokens_neox': 352, 'n_words': 120}