Pastebin Troubleshooting with Nightbot

Asked Feb 12, 2025·1 reply·Last activity 1 year 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.

Hi all, I'm new to using pastebin with Nightbot (since I figured out this can bypass Nightbot's 500 character cap commands), but I cannot figure out what's wrong with the command to fix it to get it to pull the information from the pastebin.

This is what I have right now:

Your creature of the day is $(eval r=$(urlfetch json [link](https://pastebin.com/giKKerrH);a[Math.floor(Math.random()*a.length)])

And this is what Nightbot tells me:

Your creature of the day is a is not defined

Any help would be greatly appreciated, as I am not a coder lol

1 reply

Hiya, change the first r to a
$(eval a = ...