I need help with Eval command

Asked Jan 8, 2021·1 reply·Last activity 5 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 need help to do the !elo for csgo in faceit.
I know that the command is $(eval const api = $(urlfetch json http://api.satont.ru/faceit?nick=USERNAME); if (api.error) {'Error';} else { 'Lvl: ' + api['lvl'] + ' Elo: ' + api['elo'] }).
But I want that in nighbot commands only see [Eval] instead of all this command, anyone know how to do it?

Thanks

1 reply

Hiya, only you will see the full command, others will see [eval].