Add French niceness to annna. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 9c44cc4a6bc404e04d332fe438519ac23869ef9d DIR parent 62a8b9ef6e8892f5cab89eb41a738385e7c1e1f9 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 31 Jul 2022 11:25:34 +0200 Add French niceness to annna. Diffstat: M annna-message-common | 4 ++++ A bonjour | 44 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -604,6 +604,10 @@ case "${text}" in "${botname}, wb.") annna-say -s "${server}" -c "${channel}" "${user}, ty! I am so happy to be here. :)" ;; +"${botname}, bon"*) + insult="$(bonjour)" + annna-say -s "${server}" -c "${channel}" "${user}, ${insult} !" + ;; "${botname}, welcome back.") annna-say -s "${server}" -c "${channel}" "${user}, thank you! I am so happy to be here. :)" ;; DIR diff --git a/bonjour b/bonjour @@ -0,0 +1,44 @@ +#!/usr/bin/env python +from random import randint + +insults = [ + [ + "salope", "gros con", "pauvre con", "sale fils de pute", "petite bite", + "fils de chienne", "grosse merde", "vieux chacal", "sale encule", + "gros batard" + ], + [ + "ou", + ], + [ + "va trouer le cul de", "va gifler", "va defoncer l-anus de", "va tuer", + "va crever", "va cracher sur" + ], + [ + "ta fille", + "ta grand mere", + "ton grand pere", + "ton chien", + "ta femme", + "ta chienne", + "ta soeur", + "ton frere", + ], + [ + "au cimetiere", "chez le coiffeur", "dans ma cave", "dans la cave", + "sous ma caisse", "dans les champs", "dans ton cul", "dans la niche", + "a carrefour" + ], + [ + "raclure de chiottes", "face de pet", "sous merde", "sale batard", + "pauvre merde", "fils de chien", "grosse pute", "sale enflure", + "petite catin" + ], +] + +if __name__ == "__main__": + insult = "" + for i in insults: + insult += f"{i[randint(0, len(i)) - 1]} " + + print(insult)