fix(InteractionResponses): spell messages correctly (#9080)

as well as `automatically` in Util.js
This commit is contained in:
Jiralite
2023-02-17 21:21:03 +00:00
committed by GitHub
parent d69529e3fe
commit 123d0f1aca
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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}