Help with Nightbot

Im just learning to use and create nightbot commands for different responses. I tried the god command on YouTube. I checked it on YouTube and nightbot returned, all hail use name , God of remote server returned code 404.

This is the command i have in nightbot.

All hail $(user), God of $(eval a=“$(urlfetch json https://pastebin.com/raw/uM3SxvThJ)”.split(“;”);a[Math.floor(Math.random()*a.length)])

Someone please help

Also with this command, what am I doing wrong?
Everything worked but the choosing animal.

$(user) summons a creature and $(eval const animals = ['a raccoon,‘a monkey’,‘a parrot’,‘an otter’]; animals[Math.floor(Math.random() * animals.length)]:wink: appears and whacks $(user) with a frying pan.

Hiya, the pastebin you linked doesn’t exist.

Hmmm, it’s in my account. I guess it isn’t public.

Ah, yeah set it to public and try again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.