done for the night
This commit is contained in:
1
bot.js
1
bot.js
@@ -184,6 +184,7 @@ function imgurRequest(subreddit, page_max) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Abstracted Reddit Json media grab.
|
// Abstracted Reddit Json media grab.
|
||||||
|
// todo I think since it's randomly picking indices but children.length times, it's missing rare items.
|
||||||
function handleRedditJson(data) {
|
function handleRedditJson(data) {
|
||||||
let json = data.json();
|
let json = data.json();
|
||||||
if (json.data) {
|
if (json.data) {
|
||||||
|
Reference in New Issue
Block a user