Intents aren't expressions
Intents use machine learning, to be more specific NLU. It can understand the sentiment of the words/sentences that you give it in the library and then it will compare that sentiment to the users sentiment based on their message.