Open ShinyRa opened 3 weeks ago
After some minor debugging, I found that an instance of CommentReplies
gets created while getting comments, but calling const replies = await comments[0].replies.next()
does not trigger the fetch()
method in CommentReplies
.
By manually calling the fetch method using const replies = await comments[0].replies.fetch()
, I get an error (see attached screenshot), but granted this is not the intended way of retrieving replies.
Maybe I'm looking in the wrong places and retrieving comment replies is done differently, if that is the case please let me know!
Bug description Fetching replies of a comment using the
.next()
function on always returns an empty array.To Reproduce
Output
Expected behavior When retrieving replies of a youtube comment using
comment.replies.next()
, withcomment.replyCount
being higher than 0. I expect the replies array to be populated with correctly fetched replies.