Command only triggers for one certain person

Asked Mar 6, 2022·1 reply·Last activity 4 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 want one command to only trigger for one specific user?
How do I enter this in the following one?

!commands add -cd=5 when $(eval '$(1)'=='giveaway' ? 'later...':' ')

Thanks

1 reply

Using $(eval) you can change the response if a certain user posts the command, other users will still be able to use it. The intended way of restricting commands is through user level (Mods/Subs/Regulars/etc).