Add a command for not remembering facts

This commit is contained in:
Nick Chambers 2021-07-18 22:54:39 -05:00
parent 65bb121fcd
commit 5bee1a216f
1 changed files with 4 additions and 1 deletions

5
rowbot
View File

@ -942,7 +942,10 @@ factoids_cmd_is() {
}
factoids_cmd_isnt() {
true
if [[ -f ${config[fact-root]}/${msg[to]}/$action_line ]]; then
irc_privmsg "${msg[to]}" "I forgot what that was anyways."
rm -f "${config[fact-root]}"/"${msg[to]}"/"$action_line"
fi
}
factoids_cmd_ls() {