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

Added user-agent #653

Merged
merged 1 commit into from
May 28, 2019
Merged

Added user-agent #653

merged 1 commit into from
May 28, 2019

Conversation

datutbrus
Copy link
Contributor

No description provided.

@iopred iopred merged commit 7896167 into bwmarrin:develop May 28, 2019
@bwmarrin
Copy link
Owner

bwmarrin commented May 29, 2019

Just curious, what's the reason for exposing the UserAgent? I thought Discord wanted it to be presented in the specific format we were using. What use case would an end-user of the library need to use a different user agent?

@trvv
Copy link

trvv commented May 29, 2019

you're supposed to be able to add more metadata to the user agent than just the project URL and version. whether or not this would actually be necessary for anything is up for debate but it should still be something people can do if they want.

screenshot of discord API reference

@bwmarrin bwmarrin added this to the v0.20.0 milestone Aug 27, 2019
ErikMcClure pushed a commit to ErikMcClure/discordgo that referenced this pull request Aug 4, 2020
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.

5 participants