fixed stupid concat
This commit is contained in:
2
bot.js
2
bot.js
@@ -268,7 +268,7 @@ async function asyncImageRequest(channelMessage) {
|
|||||||
// todo need to check config to see if it's a valid booruuuuu
|
// 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");
|
//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);
|
console.log('image url list:' + image_url_list);
|
||||||
|
|
||||||
if (image_url_list) {
|
if (image_url_list) {
|
||||||
|
Reference in New Issue
Block a user