From b107de7a1a6a0403621c0765c22c7f1d87ea3397 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Sun, 18 Jul 2021 22:57:49 -0500 Subject: [PATCH] Add a command for showing Rowbot's memories --- rowbot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rowbot b/rowbot index 5955902..f80b501 100755 --- a/rowbot +++ b/rowbot @@ -949,7 +949,8 @@ factoids_cmd_isnt() { } factoids_cmd_ls() { - true + local facts=( "${config[fact-root]}"/"${msg[to]}"/* ) + irc_privmsg "${msg[to]}" "${facts[*]##*/}" } plugin_not_found_factoids() {