Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed _client that i forgot to
Browse files Browse the repository at this point in the history
JustCat80 committed May 31, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c34e1f1 commit ca45388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Client.js
Original file line number Diff line number Diff line change
@@ -586,7 +586,7 @@ class Client extends EventEmitter {
* @returns {Promise}
*/
createInteractionResponse(interactionID, interactionToken, options) {
return this._client.requestHandler.request("POST", Endpoints.INTERACTION_RESPOND(interactionID, interactionToken), true, options);
return this.requestHandler.request("POST", Endpoints.INTERACTION_RESPOND(interactionID, interactionToken), true, options);
}
/**
* Create a message in a channel

0 comments on commit ca45388

Please sign in to comment.