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

UserAvatar to accept user object. #337

Merged
merged 4 commits into from
Mar 13, 2017
Merged

UserAvatar to accept user object. #337

merged 4 commits into from
Mar 13, 2017

Conversation

jD91mZM2
Copy link
Contributor

One of the most important thing with this library is that it does 1 request per function. You have 100% control over how many web requests get made.
UserAvatar breaks that.

UserAvatar now accepts a user, which not only makes you know how many web requests gets made, but might also save on web requests if you have an existing user object.

LEGOlord208 added 4 commits March 13, 2017 16:13
One of the most important thing with this library is that it does 1 request per function. You have 100% control over how many web requests get made.
UserAvatar breaks that.

UserAvatar now accepts a user, which not only makes you know how many web requests gets made, but might also save on web requests if you have an existing user object.
@iopred iopred merged commit d4f874c into bwmarrin:develop Mar 13, 2017
@jD91mZM2 jD91mZM2 deleted the patch-3 branch March 13, 2017 19:46
@bwmarrin bwmarrin added this to the v0.16.0 milestone Apr 18, 2017
ErikMcClure pushed a commit to ErikMcClure/discordgo that referenced this pull request Aug 4, 2020
* UserAvatar to accept user object.

One of the most important thing with this library is that it does 1 request per function. You have 100% control over how many web requests get made.
UserAvatar breaks that.

UserAvatar now accepts a user, which not only makes you know how many web requests gets made, but might also save on web requests if you have an existing user object.

* Removed dots. Please work, travis :<

* Ohhh... A friend spotted the error!

* `go fmt` and fixed comment... PLS TRAVIS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants