Hi there, i am trying to add a custom command for my followers. It's basicly !love command (user loves streamer x%) but i need to limit usage daily for everyone and wanna make exception for myself.
If any follower except me use command, bot replies as "user loves streamer (0-99)%).
If i use command, bot choose random sentence from a pastebin document.
Every user has 86400 seconds cooldown, it basicly a day.
Everything was working fine but after i added [User Command Cooldowns,](https://community.nightdev.com/t/user-command-cooldowns/23839) bot doesn't reply me with random sentence.
This is for my love command (i deleted tokens);
!addcom -cd=5 !love -a=_!command_helper $(eval z=86400;d=Date.parse(Date());a=$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN).match(/~$(user)~\d+~/g);PRIVATE_TOKEN+(!a||d-parseInt(a[a.length-1].split(~)[2])>=z*1000?&data=~$(user)~${d}~:``))
And here !commandhelper;
!addcom -cd=5 !commandhelper $(eval a=$(urlfetch https://twitch.center/customapi/addquote?token=$(query));decodeURIComponent($(querystring)).includes(PRIVATE_TOKEN)?(a.includes(Successfully added entry)?`$(eval
r = $(urlfetch https://decapi.me/random/number/0/99);
if ('$(user)' == 'mynickname')
"$(eval a=$(urlfetch json https://pastebin.com/raw/deleted).split(|);a[Math.floor(Math.random()*a.length)])";
else
'$(user), loves %' +r+ ' streamer!';):One usage per!): `)
Please help me. If need any more information, i can provide.
