Skip to content

Commit

Permalink
editOriginalMessage doesnt error with ephemeral messages
Browse files Browse the repository at this point in the history
i thought it did but maybe im dumb
  • Loading branch information
JustCat80 committed Aug 12, 2021
1 parent d0b0347 commit 5ba3648
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/structures/CommandInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ class CommandInteraction extends Interaction {

/**
* Edit the Original response message
* Warning: Will error with ephemeral messages.
* @arg {Object} options Interaction message edit options
* @arg {Object} [options.allowedMentions] A list of mentions to allow (overrides default)
* @arg {Boolean} [options.allowedMentions.everyone] Whether or not to allow @everyone/@here.
Expand Down
1 change: 0 additions & 1 deletion lib/structures/ComponentInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ class ComponentInteraction extends Interaction {

/**
* Edit the parent message
* Warning: Will error with ephemeral messages.
* @arg {Object} options Interaction message edit options
* @arg {Object} [options.allowedMentions] A list of mentions to allow (overrides default)
* @arg {Boolean} [options.allowedMentions.everyone] Whether or not to allow @everyone/@here.
Expand Down
1 change: 0 additions & 1 deletion lib/structures/UnknownInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ class UnknownInteraction extends Interaction {

/**
* Edit the Original response message (or the parent message for components)
* Warning: Will error with ephemeral messages.
* @arg {Object} options Interaction message edit options
* @arg {Object} [options.allowedMentions] A list of mentions to allow (overrides default)
* @arg {Boolean} [options.allowedMentions.everyone] Whether or not to allow @everyone/@here.
Expand Down

0 comments on commit 5ba3648

Please sign in to comment.