Skip to content

Commit

Permalink
docs(GuildMember): Clarify timeout parameter wording (discordjs#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 <33201955+Jiralite@users.noreply.github.com>
  • Loading branch information
2 people authored and almeidx committed Sep 24, 2023
1 parent 049ccf6 commit f471c16
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 f471c16

Please sign in to comment.