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 29, 2021
1 parent ecd5c2f commit 6c27c37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/structures/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const Base = require("./Base");
//const InteractionData = require("./InteractionData");
const Message = require("./Message");
const Member = require("./Member");
const Constants = require("../Constants");

/**
* Represents a member's voice state in a call/guild
Expand Down Expand Up @@ -74,7 +75,7 @@ class Interaction extends Base {
await this._respond({
status: 200,
body: {
type: InteractionResponseType.DEFERRED_UPDATE_MESSAGE
type: Constants.InteractionResponseType.DEFERRED_UPDATE_MESSAGE
}
}).catch(err => {return err})
return true;
Expand Down

0 comments on commit 6c27c37

Please sign in to comment.