Skip to content

Commit

Permalink
Removed _client that i forgot to
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed May 31, 2021
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.