I don't know how to use Pastebin

Asked Jul 23, 2020·2 replies·Last activity 6 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 want to use this pastebin, but i dont know how to do the command (the command pick a random active viewer except bots)

$(eval notes = “$(urlfetch json https://pastebin.com/G3cDHw3R) “.split(”;”); notes[Math.floor(Math.random() * (notes.length - 1))])

2 replies

You can’t use nightbot variables in a pastebin file once it fetches it it reads it as json and doesn’t recognize them

Also, use raw versions of Pastebin: https://pastebin.com/raw/XXXXXXXX