Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promisified Guild#fetchAllMembers #576

Merged
merged 8 commits into from Dec 1, 2019
Merged

Promisified Guild#fetchAllMembers #576

merged 8 commits into from Dec 1, 2019

Conversation

LJNeon
Copy link
Contributor

@LJNeon LJNeon commented Nov 26, 2019

I did a basic test to make sure this works, more testing may or may not be useful. I used the requestTimeout client option for this, as I don't believe that making a new option is worth it here and it seemed to be the best fitting of all existing options. I also never reject the promise as the point here was to mirror previous behavior, only with a Promise that resolves at the end. I'm open to feedback on those two points.

lib/gateway/Shard.js Outdated Show resolved Hide resolved
lib/gateway/Shard.js Outdated Show resolved Hide resolved
lib/structures/Guild.js Outdated Show resolved Hide resolved
@abalabahaha abalabahaha merged commit 9eee8ed into abalabahaha:dev Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants