fix: backport allow deletion of ephemeral messages to v13 (#8811)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Raraph84
2022-11-25 18:35:19 +01:00
committed by GitHub
parent 0e0851aa18
commit 98846cf863
2 changed files with 1 additions and 1 deletions

View File

@@ -164,7 +164,6 @@ class InteractionResponses {
* .catch(console.error);
*/
async deleteReply(message = '@original') {
if (this.ephemeral) throw new Error('INTERACTION_EPHEMERAL_REPLIED');
await this.webhook.deleteMessage(message);
}