Command responds only when called with no argument input

Asked Nov 16, 2022·1 reply·Last activity 3 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.

How to make the command appear if I said the command word only
Example @member command appear
And if I say @member hi the command didn't appear

1 reply

Hey @Cuddly Snail!

Like this:

$(eval '$(query)' === '' ? 'YOUR_COMMAND_RESPONSE' : ' ';)