Hey @CLN!
What you’ll need to do is to create a Pastebin account (that way you can go back in later to edit the command), then create a unlisted paste with no expiration date, similar to this one.
Notice how it’s structured:
Meme or joke #1;
Meme or joke #2;
Meme or joke #3;
...
Meme or joke #n
All your jokes must end by a separator, in the example it’s a ;
(semi-colon), but it could be anything else, like a }
(closing bracket) for example, that said I don’t recommend using either of these: ,.:`'"
, or any character you’d use in a regular sentence.
Also, the last joke doesn’t need to be ended with the separator.
Now here’s the command:
!addcom !joke $(eval j=`$(urlfetch json https://pastebin.com/raw/XXXXXXXX)`.split(`SEPARATOR`); j[Math.floor(Math.random()*j.length)];)
Replace XXXXXXXX
with your paste ID, and SEPARATOR
with the separator you chose to use.