add yo/ya

This commit is contained in:
Mylloon 2022-07-23 00:59:50 +02:00
parent 51f68b7f67
commit f501037b87
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 8 additions and 3 deletions

View file

@ -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.

View file

@ -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