Skip to content

Commit

Permalink
docs(GuildMember): Clarify timeout parameter wording (#9800)
Browse files Browse the repository at this point in the history
* Update GuildMember.js

* Update GuildMember.js

* Update GuildMember.js

* Update GuildMember.js

---------

Co-authored-by: Jiralite <[email protected]>
  • Loading branch information
jeremy-rifkin and Jiralite authored Sep 8, 2023
1 parent ff1fda7 commit 8d97e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/src/structures/GuildMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<GuildMember>}
* @example
Expand Down

0 comments on commit 8d97e2d

Please sign in to comment.