This function would a) return an array of all users in all channels, and b) optionally return a TRUE if a $nick was passed and it existed. Then, let bot_seen_all_nicks_for_regexp use it, and use it for the tell about functionality of bot_factoid.module.