From f501037b873e45f8f97eac847babf6505e22d2dd Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 23 Jul 2022 00:59:50 +0200 Subject: [PATCH] add yo/ya --- README.md | 2 +- main.py | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b45d696..481e2e1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ quoi | feur | ¦ | con | combre | ¦ | coup | teau oui | stiti/fi | ¦ | ok | sur glace | ¦ | ca | pristi | ¦ | fais | rtile | ¦ | toi | lette non | bril | ¦ | ouais | stern | ¦ | bon | jour/soir (dépend de l'heure) | ¦ | tant (ou autre syntaxe) | gente | ¦ | top | inambour nan | cy | ¦ | comment | tateur | ¦ | qui | wi/mono | ¦ | et | eint/ain | ¦ | jour | nal -hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ | +hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ | ya/yo | hourt/yo ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ | N'hésitez pas à ouvrir un ticket ou faire une merge-request pour contribuer au projet. diff --git a/main.py b/main.py index da6a397..8bd462c 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,4 @@ +from venv import create from dotenv import load_dotenv from os import environ from tweepy import OAuthHandler, API, StreamListener, Stream @@ -229,7 +230,9 @@ if __name__ == "__main__": "moi": ["moi", "mwa"], "toi": ["toi", "toit"], "top": ["top"], - "jour": ["jour", "bonjour"] + "jour": ["jour", "bonjour"], + "ya": ["ya", "y'a"], + "yo": ["yo"] } answers = { # creation of answers @@ -272,7 +275,9 @@ if __name__ == "__main__": "moi": createBaseAnswers("tié") + createBaseAnswers("sson"), "toi": createBaseAnswers("lette"), "top": createBaseAnswers("inambour"), - "jour": createBaseAnswers("nal") + "jour": createBaseAnswers("nal"), + "ya": createBaseAnswers("hourt"), + "yo": createBaseAnswers("ghourt") + createBaseAnswers("yo") } universalBase = createBaseTrigger(list(base.values())) # creation of a list of all the words