From 51f68b7f6779ffabb6f42ae3a41b5d0a4d74372f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 20 Jul 2022 01:53:52 +0200 Subject: [PATCH] add words --- README.md | 12 ++++++------ main.py | 8 ++++++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f7e5092..b45d696 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ Bot qui envoie automatiquement des réponses ennuyantes quand les personnes que tu suis finissent leur tweet par un mot spécial. Certains mots peuvent servir de "trigger" sans être dans la liste, example : `aussi` n'est pas dans la liste, mais en retirant `aus`, on obtient `si`, qui est dans la liste. -| Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse -------|--------- |:-:|---------|-----------|:-:|------|-------------------------------|:-:|-------------------------|------------|:-:|-----|- -quoi | feur | ¦ | con | combre | ¦ | coup | teau | ¦ | ka | pitaine | ¦ | moi | tié/sson -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 | ¦ | -nan | cy | ¦ | comment | tateur | ¦ | qui | wi/mono | ¦ | et | eint/ain | ¦ | +| Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse | ¦ | Mot | Réponse +------|--------- |:-:|---------|-----------|:-:|------|-------------------------------|:-:|-------------------------|------------|:-:|------|- +quoi | feur | ¦ | con | combre | ¦ | coup | teau | ¦ | ka | pitaine | ¦ | moi | tié/sson +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 | ¦ | ci | tron | ¦ | fort | boyard | ¦ | pas | nini | ¦ | tki | la | ¦ | diff --git a/main.py b/main.py index 798377b..da6a397 100644 --- a/main.py +++ b/main.py @@ -227,7 +227,9 @@ if __name__ == "__main__": "la": ["la", "là"], "tki": ["tki"], "moi": ["moi", "mwa"], - "toi": ["toi", "toit"] + "toi": ["toi", "toit"], + "top": ["top"], + "jour": ["jour", "bonjour"] } answers = { # creation of answers @@ -268,7 +270,9 @@ if __name__ == "__main__": "la": createBaseAnswers("vabo") + createBaseAnswers("vande"), "tki": createBaseAnswers("la"), "moi": createBaseAnswers("tié") + createBaseAnswers("sson"), - "toi": createBaseAnswers("lette") + "toi": createBaseAnswers("lette"), + "top": createBaseAnswers("inambour"), + "jour": createBaseAnswers("nal") } universalBase = createBaseTrigger(list(base.values())) # creation of a list of all the words