How to write a bot that stores information derived from user postings. On startup: -Get messages from everywhere -Get your own internal notes -Scan all the messages and all the notes for information The idea is that the bot doesn't need persistence if it builds its structures from the messages the same way every time. On new message: -Scan message for information -Process question (if it is a question)