contact silojizms

fukurou

the supreme coder
ADMIN
- "Pomni has the code 1234."
- "The code that belongs to Pomni is 1234."
- "Pomni owns the code 1234."
- "The code for Pomni is 1234."
 

fukurou

the supreme coder
ADMIN
Python:
def initialize_babble2(self) -> None:
    # Adding phrase matchers for various patterns and responses to enhance conversation logic
    
    # Description
    self.add_phrase_matcher(
        r"(.*) is (.*)",
        "what is {0}", "{0} is {1}",
        "explain {0}", "{0} is {1}"
    )

    # Comparison
    self.add_phrase_matcher(
        r"(.*) are (.*) than (.*)",
        "who is {1} {0} or {2}", "{0}",
        "who is {1} {2} or {0}", "{0}",
        "who are {1} {2} or {0}", "{0}",
        "who are {1} {0} or {2}", "{0}"
    )

    # Why
    self.add_phrase_matcher(
        r"(.*) because (.*)",
        "tell me why {0}", "{1}",
        "tell me why {0}", "{0} because {1}",
        "explain why {0}", "{0} because {1}"
    )

    # Triple OR
    self.add_phrase_matcher(
        r"if (.*) or (.*) or (.*) than (.*)",
        "{0}", "{3}",
        "{1}", "{3}",
        "{2}", "{3}"
    )

    # OR
    self.add_phrase_matcher(
        r"if (.*) or (.*) than (.*)",
        "{0}", "{2}",
        "{1}", "{2}"
    )

    # How
    self.add_phrase_matcher(
        r"to (.*) simply (.*)",
        "explain how to {0}", "{1}",
        "tell me how to {0}", "{1}"
    )

    # XOR
    self.add_phrase_matcher(
        r"if (.*) xor (.*) than (.*)",
        "{0} and not {1}", "{2}",
        "{1} and not {0}", "{2}"
    )

    # If
    self.add_phrase_matcher(
        r"if (.*) than (.*)",
        "{0}", "{1}",
        "{0}", "than {1}"
    )

    # Reverse If
    self.add_phrase_matcher(
        r"(.*) if (.*)",
        "{1}", "{0}",
        "{1}", "than {0} I guess"
    )

    # Likes
    self.add_phrase_matcher(
        r"(.*) (?:like|likes) (.*)",
        "what does {0} like", "{0} likes {1}",
        "what do {0} like", "{0} like {1}"
    )

    # Anti-bully 1
    self.add_phrase_matcher(
        r"you are just a (.*)",
        "you are just a {0}", "i will be the best {0} then",
        "you are just a {0}", "kiss my {0} butt",
        "you are just a {0}", "shiku shiku"
    )

    # Anti-bully 2
    self.add_phrase_matcher(
        r"you damn (.*)",
        "you damn {0}", "but i am the best {0}",
        "you damn {0}", "kiss my {0} butt",
        "you damn {0}", "meanie"
    )
 

fukurou

the supreme coder
ADMIN
Python:
    # contacts
    self.add_phrase_matcher(
        r"(.*) owns the email (.*)",
        "email {0}", "{1}",
        "what is the email for {0}", "{1}"
    )
 
Top