Add what is functionality to also list factoids

This commit is contained in:
quiliro 2020-10-06 20:18:07 -05:00 committed by Gaming4JC
parent 55cd3ec4a9
commit 8987197a30
No known key found for this signature in database
GPG Key ID: AEAADD85D2F527B0

View File

@ -372,6 +372,12 @@ function process_event
tell_fact "${thing}" "${channel_it_came_from}"
;;
"${my_own_name}: what is "+([![:space:]]) )
thing="${sentence#${my_own_name}: what is }"
tell_fact "${thing}" "${channel_it_came_from}"
;;
#############
# Footnotes #
#############