not-an-aardvark / snoowrap

A JavaScript wrapper for the reddit API
MIT License
1.01k stars 125 forks source link

Add ability to sort comments when using `getSubmission` #348

Open dimitryvin opened 2 years ago

dimitryvin commented 2 years ago

As the title suggests, this PR adds the ability to pass in the sorting type you want for comments when you use getSubmission.

dimitryvin commented 2 years ago

Note: Will look into adding an enum that lists the different possible sorting types for comments.

iMrDJAi commented 2 years ago

This feature is already added to this pull request: https://github.com/not-an-aardvark/snoowrap/pull/338#issuecomment-927324226. However, you are welcome to add/suggest any improvements.

dimitryvin commented 2 years ago

Awesome! Didn't see that when I was exploring earlier my bad. Lookin forward to the 2.0 release.