Nighbot responding to a sentence / command name with space

Hey @2twenty_one1!

A command name can only be one “word,” meaning there can’t be no space, so here you’d have to create a command called what's, check if the rest of the sentence contains Nightbot, and if the check matches, then send a response.

!addcom what's $(eval `$(query)`.toLowerCase().includes(`nightbot`)?`YOUR_RESPONSE`:` `)
1 Like