Skip to content

Commit

Permalink
fix(InteractionResponses): spell messages correctly (#9080)
Browse files Browse the repository at this point in the history
as well as `automatically` in Util.js
  • Loading branch information
Jiralite committed Feb 17, 2023
1 parent d69529e commit 123d0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/structures/interfaces/InteractionResponses.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/util/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 123d0f1

Please sign in to comment.