Add some more dance moves and dance initiators 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 a5810c4d040c8322e29744003973c17cb0f8589e DIR parent 7406414a80073965d2755b976a2a3b397b52cab1 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 30 Jul 2023 20:05:42 +0200 Add some more dance moves and dance initiators to annna. Diffstat: M annna-message-common | 2 +- M dance-moves-gen | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -880,7 +880,7 @@ case "${text}" in "For humanity!") annna-say -s "${server}" -c "${channel}" "${user}, for humanity!" ;; -"${ircuser}, please dance."|"\o/"|"\^o^/") +"${ircuser}, please dance."|"\o/"|"\^o^/"|"/o/"|"\o\\") dancemoves="$(dance-moves-gen)" annna-say -s "${server}" -c "${channel}" -- "${dancemoves}" ;; DIR diff --git a/dance-moves-gen b/dance-moves-gen @@ -17,14 +17,14 @@ def main(args): "\o7", "_o7", "-o7", ".o7", "~o7", "\^o^/", "\^o_", "_o^/", "~o^/", "\^o~", "-o^/", "\^o-", "\^o.", ".o^/", "\^o7", - "(>OoO)>", "<(OoO<)"] + "(>OoO)>", "<(OoO<)", "/o/", "\o\\"] try: opts, largs = getopt.getopt(args[1:], "h") except getopt.GetoptError as err: print(str(err)) usage(args[0]) - nmoves = 8 + nmoves = 10 for o, a in opts: if o == "-h":