We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb4f411 commit 2f6f9eeCopy full SHA for 2f6f9ee
src/objects/Subreddit.js
@@ -468,7 +468,7 @@ const Subreddit = class Subreddit extends RedditContent {
468
* @returns {Promise} The retrieved Submission object
469
* @example
470
*
471
- * r.getSubreddit('snoowrap').getRandomSubmission.then(console.log)
+ * r.getSubreddit('snoowrap').getRandomSubmission().then(console.log)
472
* // => Submission { ... }
473
*/
474
getRandomSubmission () {
0 commit comments