Can you help me edit this two words command

Yes, so here’s how to combine the two:

!addcom FIRST_WORD $(eval r = ['RESPONSE_1', 'RESPONSE_2', 'RESPONSE_3']; '$(query)'.toLowerCase().includes('REST_OF_THE_SENTENCE_IN_LOWER_CASE') ? r[Math.floor(Math.random() * r.length)] : ' ')

Extra resources for people stumbling upon this topic looking to do the other option:
basic command
multiple REST_OF_SENTENCE

1 Like