from core.src.static_modules import pickup_line
from core.src.message_reader import find


class PickupLineReply(object):

    @staticmethod
    def message_reply(language, text):

        text_len = len(text.split())

        john_wick_triggers = ['pick up', 'pickup', 'approccia', 'attaccala', 'fecondala']

        # look for trigger words
        for i in range(0, text_len):
            for trigger in john_wick_triggers:
                if find(trigger, text, i):
                    return pickup_line.pickup_sentence(language)

        return ""

631d7196343baaf92fc0f3d91e707c523d6ba091
<mask token>

<mask token>


class PickupLineReply(object):
    <mask token>

<mask token>


class PickupLineReply(object):

    @staticmethod
    def message_reply(language, text):
        text_len = len(text.split())
        john_wick_triggers = ['pick up', 'pickup', 'approccia', 'attaccala',
            'fecondala']
        for i in range(0, text_len):
            for trigger in john_wick_triggers:
                if find(trigger, text, i):
                    return pickup_line.pickup_sentence(language)
        return ''

from core.src.static_modules import pickup_line
from core.src.message_reader import find


class PickupLineReply(object):

    @staticmethod
    def message_reply(language, text):
        text_len = len(text.split())
        john_wick_triggers = ['pick up', 'pickup', 'approccia', 'attaccala',
            'fecondala']
        for i in range(0, text_len):
            for trigger in john_wick_triggers:
                if find(trigger, text, i):
                    return pickup_line.pickup_sentence(language)
        return ''

from core.src.static_modules import pickup_line
from core.src.message_reader import find


class PickupLineReply(object):

    @staticmethod
    def message_reply(language, text):

        text_len = len(text.split())

        john_wick_triggers = ['pick up', 'pickup', 'approccia', 'attaccala', 'fecondala']

        # look for trigger words
        for i in range(0, text_len):
            for trigger in john_wick_triggers:
                if find(trigger, text, i):
                    return pickup_line.pickup_sentence(language)

        return ""
