Skip to content

Commit

Permalink
Update Interaction.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed May 30, 2021
1 parent 4c087e0 commit 990d640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Interaction extends Base {
if(typeof content == "string") {
content = {content: content};
}
return this._client.requestHandler.request("PATCH", Endpoints.INTERACTION_RESPONSE(this.id, this.token, message), true, {
return this._client.requestHandler.request("PATCH", Endpoints.WEBHOOK_MESSAGE(this.applicationId, this.token, message), true, {
content: content.content,
embeds: content.embeds || [],
allowed_mentions: content.allowed_mentions || null,
Expand Down

0 comments on commit 990d640

Please sign in to comment.