I'm trying to modify the groupme chat bot that is given by groupme, and so far i've gotten it to only detect exact words and phrases with botRegex. I want to get it to detect a word or phrase in any text inputted, regardless of where the word is. i'm not sure how to implement indexOf as it is using a custom groupme api.https://imgur.com/a/C6cVw4rAbove is the code that I have so far. If anyone knows how to do this it's much appreciated. Thanks
Submitted December 09, 2019 at 12:12AM by anudeep30
No comments:
Post a Comment