From 45d43d06875503c2e9ae9a57c393320803962c35 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 23 Aug 2023 17:57:04 -0400 Subject: [PATCH 1/4] Update GuildMember.js --- packages/discord.js/src/structures/GuildMember.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/GuildMember.js b/packages/discord.js/src/structures/GuildMember.js index 8806b508b555..db437920b39b 100644 --- a/packages/discord.js/src/structures/GuildMember.js +++ b/packages/discord.js/src/structures/GuildMember.js @@ -425,8 +425,8 @@ class GuildMember extends Base { /** * Times this guild member out. - * @param {number|null} timeout The time in milliseconds - * for the member's communication to be disabled until. Provide `null` to remove the timeout. + * @param {number|null} timeout The duration in milliseconds + * for the member's communication to be disabled. Provide `null` to remove the timeout. * @param {string} [reason] The reason for this timeout. * @returns {Promise} * @example From b3dbaf0442f98ea7c31755f995c4bb6f9bccccc2 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 23 Aug 2023 18:02:56 -0400 Subject: [PATCH 2/4] Update GuildMember.js --- packages/discord.js/src/structures/GuildMember.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/GuildMember.js b/packages/discord.js/src/structures/GuildMember.js index db437920b39b..dbffabf00dd1 100644 --- a/packages/discord.js/src/structures/GuildMember.js +++ b/packages/discord.js/src/structures/GuildMember.js @@ -426,7 +426,8 @@ class GuildMember extends Base { /** * Times this guild member out. * @param {number|null} timeout The duration in milliseconds - * for the member's communication to be disabled. Provide `null` to remove the timeout. + * for the member's communication to be disabled. The maximum duration allowed by discord is 28 days. + * Provide `null` to remove the timeout. * @param {string} [reason] The reason for this timeout. * @returns {Promise} * @example From a0baf80747ed28949b03ec9592e342de830b0120 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:33:37 -0400 Subject: [PATCH 3/4] Update GuildMember.js --- packages/discord.js/src/structures/GuildMember.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/discord.js/src/structures/GuildMember.js b/packages/discord.js/src/structures/GuildMember.js index dbffabf00dd1..13457747731d 100644 --- a/packages/discord.js/src/structures/GuildMember.js +++ b/packages/discord.js/src/structures/GuildMember.js @@ -425,9 +425,8 @@ class GuildMember extends Base { /** * Times this guild member out. - * @param {number|null} timeout The duration in milliseconds - * for the member's communication to be disabled. The maximum duration allowed by discord is 28 days. - * Provide `null` to remove the timeout. + * @param {number|null} timeout The duration in milliseconds for the member's communication + * to be disabled. Provide `null` to remove the timeout. * @param {string} [reason] The reason for this timeout. * @returns {Promise} * @example From b117a77f5ca0bba05ec059539dbfd8594e77dd09 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:34:12 -0400 Subject: [PATCH 4/4] Update GuildMember.js --- packages/discord.js/src/structures/GuildMember.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/GuildMember.js b/packages/discord.js/src/structures/GuildMember.js index 13457747731d..db437920b39b 100644 --- a/packages/discord.js/src/structures/GuildMember.js +++ b/packages/discord.js/src/structures/GuildMember.js @@ -425,8 +425,8 @@ class GuildMember extends Base { /** * Times this guild member out. - * @param {number|null} timeout The duration in milliseconds for the member's communication - * to be disabled. Provide `null` to remove the timeout. + * @param {number|null} timeout The duration in milliseconds + * for the member's communication to be disabled. Provide `null` to remove the timeout. * @param {string} [reason] The reason for this timeout. * @returns {Promise} * @example