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

Fix for sending files with Webhook class #1449

Merged
merged 1 commit into from
May 2, 2017

Conversation

SpaceEEC
Copy link
Member

@SpaceEEC SpaceEEC commented May 2, 2017

Please describe the changes this PR makes and why it should be merged:
I hope this is the correct branch to PR to.

Sending a file with the webhook currently throws an error.
This will take care of that and allow sending multiple at once.

Tested with a Buffer, local path and an URL.

Also the documentation for other methods are slightly off or wrong,
not sure if this should be in this PR, therefore left them out.
If they should be part of this PR, I could add them, shouldn't be that much.

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@amishshah amishshah changed the base branch from master to 11.1-dev May 2, 2017 05:54
@amishshah amishshah changed the base branch from 11.1-dev to master May 2, 2017 05:58
@amishshah amishshah merged commit 07623d4 into discordjs:master May 2, 2017
@SpaceEEC SpaceEEC deleted the webhook branch May 2, 2017 11:44
devsnek pushed a commit to devsnek/discord.js that referenced this pull request May 14, 2017
devsnek pushed a commit to devsnek/discord.js that referenced this pull request May 14, 2017
Ratismal pushed a commit to Ratismal/discord.js that referenced this pull request Jul 5, 2017
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

2 participants