The strange thing is that I didn't got anything wrong.
I commented out the TmrSpeaking_Tick method because it seemed useless in this code, and then modified the file path, ran the program, and everything worked fine.
It can correctly recognize my words and respond according to the preset answers.
As shown below, I say "Show Commends" and then "Hide Commends".
Are those commands added correctly in your DefaultCommends.txt
file?
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.