Confirm request After receiving a reply, the string is separated into parts by a space. The second part is assumed to be a SMILES string since the first part is the bot's screen name. The SMILES string is processed by RDKit to check the validity. The bot returns the input molecule's chemical structure if the input is valid, otherwise, send back an error message to the sender and finish. The confirmation is sent as a reply to the users by a Twitter API POST statuses/update using Tweepy.