From 123d0f1aca109a703fd52fcff82b47cc02d57edd Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 17 Feb 2023 21:21:03 +0000 Subject: [PATCH] fix(InteractionResponses): spell `messages` correctly (#9080) as well as `automatically` in Util.js --- src/structures/interfaces/InteractionResponses.js | 2 +- src/util/Util.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/interfaces/InteractionResponses.js b/src/structures/interfaces/InteractionResponses.js index 6d99964a8..a73f582d0 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -147,7 +147,7 @@ class InteractionResponses { */ async editReply(options) { if (!this.deferred && !this.replied) throw new Error('INTERACTION_NOT_REPLIED'); - const message = await this.webhook.editMessage(options.messsage ?? '@original', options); + const message = await this.webhook.editMessage(options.message ?? '@original', options); this.replied = true; return message; } diff --git a/src/util/Util.js b/src/util/Util.js index bf9e9d44f..205e9a024 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -660,7 +660,7 @@ class Util extends null { } /** - * Resolves the maximum time a guild's thread channels should automatcally archive in case of no recent activity. + * Resolves the maximum time a guild's thread channels should automatically archive in case of no recent activity. * @param {Guild} guild The guild to resolve this limit from. * @deprecated This will be removed in the next major version. * @returns {number}