When sent a message, Braino looks up that message in a database and responds with a past response. The database has been seeded with my Facebook and Telegram chat history, using the scripts here. Essentially I just map a message to the very next message sent, regardless of user. Unfortunately, because of group chats and double-messaging, many of his replies don't make sense.
- MySQLConnector-C++
- Boost