mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: Typos, consistency and grammar fixes (#6811)
This commit is contained in:
@@ -12,7 +12,7 @@ class TextChannel extends BaseGuildTextChannel {
|
||||
|
||||
if ('rate_limit_per_user' in data) {
|
||||
/**
|
||||
* The ratelimit per user for this channel in seconds
|
||||
* The rate limit per user (slowmode) for this channel in seconds
|
||||
* @type {number}
|
||||
*/
|
||||
this.rateLimitPerUser = data.rate_limit_per_user;
|
||||
@@ -20,9 +20,9 @@ class TextChannel extends BaseGuildTextChannel {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the rate limit per user for this channel.
|
||||
* @param {number} rateLimitPerUser The new ratelimit in seconds
|
||||
* @param {string} [reason] Reason for changing the channel's ratelimits
|
||||
* Sets the rate limit per user (slowmode) for this channel.
|
||||
* @param {number} rateLimitPerUser The new rate limit in seconds
|
||||
* @param {string} [reason] Reason for changing the channel's rate limit
|
||||
* @returns {Promise<TextChannel>}
|
||||
*/
|
||||
setRateLimitPerUser(rateLimitPerUser, reason) {
|
||||
|
||||
Reference in New Issue
Block a user