Compare commits

..

No commits in common. "581a7ee25f46d97e560ad6d5666fe0dc59943de2" and "51f68b7f6779ffabb6f42ae3a41b5d0a4d74372f" have entirely different histories.

2 changed files with 8 additions and 13 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 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 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 nan | cy | ¦ | comment | tateur | ¦ | qui | wi/mono | ¦ | et | eint/ain | ¦ | jour | nal
hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ | ya/yo | hourt/yo hein | deux | ¦ | mais | on | ¦ | sur | prise | ¦ | la | vabo/vande | ¦ |
ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ | ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ |
N'hésitez pas à ouvrir un ticket ou faire une merge-request pour contribuer au projet. N'hésitez pas à ouvrir un ticket ou faire une merge-request pour contribuer au projet.

19
main.py
View file

@ -1,4 +1,3 @@
from venv import create
from dotenv import load_dotenv from dotenv import load_dotenv
from os import environ from os import environ
from tweepy import OAuthHandler, API, StreamListener, Stream from tweepy import OAuthHandler, API, StreamListener, Stream
@ -230,9 +229,7 @@ if __name__ == "__main__":
"moi": ["moi", "mwa"], "moi": ["moi", "mwa"],
"toi": ["toi", "toit"], "toi": ["toi", "toit"],
"top": ["top"], "top": ["top"],
"jour": ["jour", "bonjour"], "jour": ["jour", "bonjour"]
"ya": ["ya", "y'a"],
"yo": ["yo"]
} }
answers = { # creation of answers answers = { # creation of answers
@ -250,10 +247,10 @@ if __name__ == "__main__":
"2" "2"
], ],
"ci": createBaseAnswers("tron") + createBaseAnswers("prine"), "ci": createBaseAnswers("tron") + createBaseAnswers("prine"),
"con": createBaseAnswers("combre") + createBaseAnswers("gelé") + createBaseAnswers("pas"), "con": createBaseAnswers("combre"),
"ok": createBaseAnswers("sur glace"), "ok": createBaseAnswers("sur glace"),
"ouais": createBaseAnswers("stern"), "ouais": createBaseAnswers("stern"),
"comment": createBaseAnswers("tateur") + createBaseAnswers("tatrice") + createBaseAnswers("dant Cousteau"), "comment": createBaseAnswers("tateur") + createBaseAnswers("trice") + createBaseAnswers("dant Cousteau"),
"mais": createBaseAnswers("on") + [ "mais": createBaseAnswers("on") + [
"on (-dulation)" "on (-dulation)"
], ],
@ -268,16 +265,14 @@ if __name__ == "__main__":
"pas": createBaseAnswers("nini"), "pas": createBaseAnswers("nini"),
"ka": createBaseAnswers("pitaine") + createBaseAnswers("pitulation"), "ka": createBaseAnswers("pitaine") + createBaseAnswers("pitulation"),
"fais": createBaseAnswers("rtile"), "fais": createBaseAnswers("rtile"),
"tant": createBaseAnswers("gente") + createBaseAnswers("tation"), "tant": createBaseAnswers("gente"),
"et": createBaseAnswers("eint") + createBaseAnswers("ain"), "et": createBaseAnswers("eint") + createBaseAnswers("ain"),
"la": createBaseAnswers("vabo") + createBaseAnswers("vande"), "la": createBaseAnswers("vabo") + createBaseAnswers("vande"),
"tki": createBaseAnswers("la"), "tki": createBaseAnswers("la"),
"moi": createBaseAnswers("tié") + createBaseAnswers("sson") + createBaseAnswers("sissure") + createBaseAnswers("si"), "moi": createBaseAnswers("tié") + createBaseAnswers("sson"),
"toi": createBaseAnswers("lette") + createBaseAnswers("ture"), "toi": createBaseAnswers("lette"),
"top": createBaseAnswers("inambour"), "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 universalBase = createBaseTrigger(list(base.values())) # creation of a list of all the words