Add the new caskd_dancemoves. \^o^/ - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 2b5a788250a1e60826174f2065895b56d1f4a255
(DIR) parent 5fdf2aa6551ae667d99aa4773e5c19f0a681ac08
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 21 Nov 2021 20:36:56 +0100
Add the new caskd_dancemoves. \^o^/
Diffstat:
M annna-message-common | 2 +-
M dance-moves-gen | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -744,7 +744,7 @@ case "${text}" in
"For humanity!")
annna-say -c "${channel}" "${user}, for humanity!"
;;
-"${botname}, please dance."|"\o/")
+"${botname}, please dance."|"\o/"|"\^o^/")
dancemoves="$(dance-moves-gen)"
annna-say -c "${channel}" -- "${dancemoves}"
;;
(DIR) diff --git a/dance-moves-gen b/dance-moves-gen
@@ -14,7 +14,9 @@ def usage(app):
def main(args):
moves = ["\o/", "\o_", "_o_", "_o/", "~o/", "\o~", "~o~",
"-o/", "\o-", "-o-", "\o.", ".o/", ".o.",
- "\o7", "_o7", "-o7", ".o7", "~o7"]
+ "\o7", "_o7", "-o7", ".o7", "~o7", "\^o^/",
+ "\^o_", "_o^/", "~o^/", "\^o~", "-o^/",
+ "\^o-", "\^o.", ".o^/", "\^o7"]
try:
opts, largs = getopt.getopt(args[1:], "h")
except getopt.GetoptError as err: