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.
Update Interaction.js
Browse files Browse the repository at this point in the history
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
@@ -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
@@ -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;

0 comments on commit 6c27c37

Please sign in to comment.