Hey @hfpheibkbcfvb!
Please use the search bar before opening a new topic:
If you want the bot to no longer answer when there’s words after the command call, simply switch the logic:
!addcom FIRST_WORD $(eval `$(query)`.toLowerCase().includes(`REST_OF_THE_SENTENCE_IN_LOWER_CASE`)?`YOUR_RESPONSE`:` `)
becomes:
!addcom FIRST_WORD $(eval !`$(query)`.toLowerCase().includes(`REST_OF_THE_SENTENCE_IN_LOWER_CASE`)?`YOUR_RESPONSE`:` `)
or:
!addcom FIRST_WORD $(eval `$(query)`.toLowerCase().includes(`REST_OF_THE_SENTENCE_IN_LOWER_CASE`)?` `:`YOUR_RESPONSE`)