Command formatting

Asked Mar 25, 2020·2 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I wanted to make a command that makes Nightbot respond with No u whenever someone uses the word "beautiful" in a sentence so it doesn't have to be at the start and I figured it would be something simple like you do with a search in Win Explorer where you just put beautiful and it would look for everything that includes the word beautiful with unknown variables before and after

2 replies

The issue is that, by design, commands only trigger if called by a timer or if the command name is the first word in a user's message, so what you're asking for, making a command that triggers if a certain word is in a user's message with any number of words surrounding that word, is impossible.

Alright, at least this confirms I'm not a complete bot lol. Thanks anyways