From 3eab8afb5f0e666412922fb8fbd0eff04a33672a Mon Sep 17 00:00:00 2001 From: Dalton Date: Wed, 12 Dec 2018 20:41:09 -0800 Subject: [PATCH] fixed stupid concat --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 3158147..0d2c8f1 100644 --- a/bot.js +++ b/bot.js @@ -268,7 +268,7 @@ async function asyncImageRequest(channelMessage) { // todo need to check config to see if it's a valid booruuuuu //let redditbooru_json = await loadJson("https://" + requested_item + ".redditbooru.com/images/?limit=1000"); - image_url_list.concat(getUrlListFromReddit(reddit_json), getUrlListFromImgur(imgur_json)); //, getUrlListFromRedditBooru(redditbooru_json) + image_url_list = image_url_list.concat(getUrlListFromReddit(reddit_json), getUrlListFromImgur(imgur_json)); //, getUrlListFromRedditBooru(redditbooru_json) console.log('image url list:' + image_url_list); if (image_url_list) {