<commit_before>from modules.base.command import Command
from discord import Embed
import random


class Slots(Command):
    def __init__(self, bot):
        super().__init__(bot)
        self.name = ['slot', 'slots']
        self.mention_handler = False
        self.help = 'Juega al Tragamonedas favorito de tu abuela'
        self.owner_only = False
        self.def_frutas = [':cookie:', ':apple:', ':tangerine:', ':lemon:', ':cherries:', ':grapes:', ':watermelon:',
                           ':strawberry:', ':peach:', ':melon:', ':banana:', ':pear:', ':pineapple:']
        self.frutas = self.def_frutas if 'frutas' not in self.bot.config else self.bot.config['frutas']
        if len(self.frutas) < 3:
            self.frutas = set(list(self.frutas) + self.def_frutas)

    async def handle(self, message, cmd):
        if len(self.frutas) < 3:
            await cmd.answer('este comando no funciona u_u')
            return

        slot1 = random.choice(self.frutas)
        slot2 = random.choice(self.frutas)
        slot3 = random.choice(self.frutas)
        if slot1 == slot2 == slot3:
            text = 'Ganaste wn!  :confetti_ball:'
        elif slot1 == slot2 or slot1 == slot3 or slot2 == slot3:
            text = 'asi wn, casi. [2/3]'
        else:
            text = 'Mala cuea. Pa\' la otra será.'

        slots = Embed(color=0xf07247)<commit_msg>NO PUEDE SER, NOOOOO gracias henry wn te pasaste<commit_after>from modules.base.command import Command
from discord import Embed
import random


class Slots(Command):
    def __init__(self, bot):
        super().__init__(bot)
        self.name = ['slot', 'slots']
        self.mention_handler = False
        self.help = 'Juega al Tragamonedas favorito de tu abuela'
        self.owner_only = False
        self.def_frutas = [':cookie:', ':apple:', ':tangerine:', ':lemon:', ':cherries:', ':grapes:', ':watermelon:',
                           ':strawberry:', ':peach:', ':melon:', ':banana:', ':pear:', ':pineapple:']
        self.frutas = self.def_frutas if 'frutas' not in self.bot.config else self.bot.config['frutas']
        if len(self.frutas) < 3:
            self.frutas = set(list(self.frutas) + self.def_frutas)

    async def handle(self, message, cmd):
        if len(self.frutas) < 3:
            await cmd.answer('este comando no funciona u_u')
            return

        slot1 = random.choice(self.frutas)
        slot2 = random.choice(self.frutas)
        slot3 = random.choice(self.frutas)
        if slot1 == slot2 == slot3:
            text = 'Ganaste wn!  :confetti_ball:'
        elif slot1 == slot2 or slot1 == slot3 or slot2 == slot3:
            text = 'Casi wn, casi. [2/3]'
        else:
            text = 'Mala cuea. Pa\' la otra será.'

        slots = Embed(color=0xf07247)
{'fraction_non_alphanumeric': 0.14239365537130497, 'fraction_numerical': 0.015861571737563085, 'mean_word_length': 2.380024360535932, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7454851', 'n_tokens_mistral': 992, 'n_tokens_neox': 946, 'n_words': 233}