I have been trying to learn regular expressions, but I'm currently struggling with syntax. Sometimes I can get stuff to work, sometimes not.
I am thinking about making it where I just evaluate the first word instead for the keywords (What, Where, When, Why, How, Is, Are, etc.)
Still no idea on what to do with the specific keywords (like where it will give a determined response instead of a random one), but assuming regex will help with that, if I can learn it properly.
As an FYI, I am not trying to analyze language to know exactly if a question is being asked, or what type of question. Just trying to make it more specific/specialized to where someone can't go "!question pickle lard", and it will respond with "Yes"
I understand people can still troll it, but for the most part, it will only pick up on legit questions.