Hey i was seeing if there was any way i could make a custom api for night bot to randomly pick off so i dont get limited to the 400 character limit that goes with paste bin and night bot
this is what ive made so far for my custom !fact command
!commands edit !Fact $(eval a="$(urlfetch ht tps://pastebin.com/raw/peWM4VTr)".split(","); b="$(urlfetch ht tps://pastebin.com/raw/8E6CeNMG)".split(","); c="$(urlfetch h ttps://pastebin.com/raw/e1Aq8vzM)".split(","); d="$(urlfetch ht tps://pastebin.com/raw/ycpLqWSv)".split(","); e="$(urlfetch ht tps://pastebin.com/raw/SAkDS155)".split(","); f="$(urlfetch ht tps://pastebin.com/raw/ZqtUNpyY)".split(","); g=a.concat(a); g[Math.floor(Math.random() * (c.length-1))]
The end of each line in your new paste has a semicolon instead of a comma, so you have to use a semicolon instead of a comma in the split() function. I fixed the command response.