I´m trying to make a random facts command and I have the basics down but..

Asked May 1, 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.

2 replies

Hey @Zany Squid!

You have to use the raw version of the paste:

$(eval a=$(urlfetch json https://pastebin.com/raw/GkjTYSjX);a[Math.floor(Math.random()*a.length)])

[quote="Emily, post:2, topic:26230"]

Thank you soo much I have been trying so long to get this right.