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)] appears and whacks $(user) with a frying pan.