Nightbot won’t respond for sentences withspace

I can’t make nightbot respon to how old are you but he can respond if i remove the spaces what the viewer won’t say howoldareyou!
Can i do something for that ?

No, nightbot will only respond to the first word - it isn’t a keyword based system, just a “without a prefix” system.

Hey @vega_16!

The solution to this is to create a how command and check for the content following the trigger word, aka the query, so here’s how to do it in your case:

!addcom how $(eval `$(query)`.toLowerCase().includes(`old are you`)?`YOUR_AGE_TEXT`:` `;)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.