Hi, I have a nightbot command called “!echo”, basically he repeats a message, the command is:
I would like to know if i can prevent the nightbot from giving his streamelements points through:
I tried this:
$(query))).trim().toLowerCase().replace(/\s+/g, ‘’) == “!givepoints”) ? “Good try! LUL” : decodeURIComponent(
The problem is that this path only works if the viewer writes just “!givepoints” without anything after that, like the “@user” or the amount of points
I could just stop the nightbot from earning points in the streamelements, but I want to do something funny, is there a way for this to work?