mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
docs(BanOptions): make days description more clear (#5327)
This commit is contained in:
@@ -198,7 +198,7 @@ class GuildMemberManager extends BaseManager {
|
||||
* Bans a user from the guild.
|
||||
* @param {UserResolvable} user The user to ban
|
||||
* @param {Object} [options] Options for the ban
|
||||
* @param {number} [options.days=0] Number of days of messages to delete, must be between 0 and 7
|
||||
* @param {number} [options.days=0] Number of days of messages to delete, must be between 0 and 7, inclusive
|
||||
* @param {string} [options.reason] Reason for banning
|
||||
* @returns {Promise<GuildMember|User|Snowflake>} Result object will be resolved as specifically as possible.
|
||||
* If the GuildMember cannot be resolved, the User will instead be attempted to be resolved. If that also cannot
|
||||
|
||||
Reference in New Issue
Block a user