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

Hotfix for kick reason #1489

Closed
wants to merge 31 commits into from
Closed

Hotfix for kick reason #1489

wants to merge 31 commits into from

Conversation

PgBiel
Copy link
Contributor

@PgBiel PgBiel commented May 14, 2017

Please describe the changes this PR makes and why it should be merged:
This is a quick fix for kick reasons. While I do know that this will be switched to headers later, it's better to keep this hotfix for now. It's basically to escape the reason. Without this escaping, special characters get messed up and writing things like # would cancel everything after it.
P.S.: This should be applied to master and 11.1-dev.

Edit: This should be only applied to 11.1-dev (The fix for this is going to be in 12.0.0)

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.

devsnek and others added 30 commits May 1, 2017 20:37
…djs#1144)

* Guild#iconURL(format, size);
* OAuth2Application#iconURL(format, size);
* User#iconURL(format, size);
* Document flattenErrors keys param.

* Remove parens.

* Capitalise a letter
fetchMeMentions -> fetchMentions 🤔
Mentions should be written with a capital M
…1464)

* update GuildAuditLogs for MESSAGE_DELETE and fixed extras

* correct oder of targets
* added Invite#online and Invite#memberCount

* requested change
)

* fix fetchMentions' auth header, options and data mapping

* vscode strikes again

* switched to Util.mergeDefault

* vscode

* removed duplicated optionals and switched to instanceof
…cordjs#1474)

* handing guildauditlog's promise rejections to the user

* Returning a new Promise to resolve a Promise.all is unnecessary.
Also for the docs, it returns a Promise<GuildauditLogs>, not GuildAuditLogs directly.

* totally did not removed that line
Previously it was a channel mention. Thanks @Hackzzila.
* ready event will now throw errors properly

* ws login rejection fix
Looks like someone forgot to remove the full channel object from the PATCH payload.
* Update Constants.js

* Update User.js

* Update Constants.js

* Update Constants.js
@PgBiel
Copy link
Contributor Author

PgBiel commented May 14, 2017

Seeing that v12 will have the fix (Assuming it will be done in #1490), this should probably be applied to 11.1-dev.

@PgBiel PgBiel changed the base branch from master to 11.1-dev May 14, 2017 22:23
@PgBiel PgBiel closed this May 14, 2017
@PgBiel
Copy link
Contributor Author

PgBiel commented May 14, 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

10 participants