Freya Gustavsson
Freya Gustavsson
Could be the Proxies we have messing about, so it fetches the subreddit but submitLink is still waiting. What about wrapping the whole call and doing await? ```js const response...
@r-ndom-developer does doing this work? I'm not sure if it awaits the subreddit and not the submitLink in this case ```js const result = await (sub.submitLink(ops)); console.log(result.id); ```
You might have some luck looking over #48
@OmgImAlexis it seems like the correct usage should be `captcha`. So the JSDoc and TS definitions are both wrong. I noticed that submit utilizes `captchaResponse` instead. But this might also...
> why there isn't anything about this function in the documentation? See https://not-an-aardvark.github.io/snoowrap/snoowrap.html#.fromAuthCode__anchor
Until we get TypeScript doc generation we're not going to get parameters in returned objects, doing it in JSDoc is far too much work and not worth it Our current...
It should return a listing of posts, which you will have to get manually to look through the comments This is probably what should be returned: https://www.reddit.com/duplicates/n38d03.json
To my knowledge we don't support it, but you should be able to use [`oauthRequest`](https://not-an-aardvark.github.io/snoowrap/snoowrap.html#oauthRequest__anchor) > I hate people who told me that this library is the best solution for...
Since the code is retrieving the settings when it's editing you're right, you should be able to put in any attribute and it should work, as per the code: https://github.com/not-an-aardvark/snoowrap/blob/f2ca3871963dbc7832800f1883b5359a7c72d4a5/src/objects/Subreddit.js#L931-L938...
I don't think retrying is the way to go, but we should be able to fetch a new access token a few seconds before it expires to avoid this. Here's...