mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
docs: Remove leftover docstring from 11.2 (#2115)
* Fix leftover docstring from 11.2 * Here too * Update Guild.js * Update GuildMember.js
This commit is contained in:
parent
2f84d95077
commit
efd1c4c516
2 changed files with 2 additions and 4 deletions
|
|
@ -815,8 +815,7 @@ class Guild extends Base {
|
||||||
/**
|
/**
|
||||||
* Bans a user from the guild.
|
* Bans a user from the guild.
|
||||||
* @param {UserResolvable} user The user to ban
|
* @param {UserResolvable} user The user to ban
|
||||||
* @param {Object} [options] Ban options. If a number, the number of days to delete messages for, if a
|
* @param {Object} [options] Options for the ban
|
||||||
* string, the ban reason. Supplying an object allows you to do both.
|
|
||||||
* @param {number} [options.days=0] Number of days of messages to delete
|
* @param {number} [options.days=0] Number of days of messages to delete
|
||||||
* @param {string} [options.reason] Reason for banning
|
* @param {string} [options.reason] Reason for banning
|
||||||
* @returns {Promise<GuildMember|User|Snowflake>} Result object will be resolved as specifically as possible.
|
* @returns {Promise<GuildMember|User|Snowflake>} Result object will be resolved as specifically as possible.
|
||||||
|
|
|
||||||
|
|
@ -521,8 +521,7 @@ class GuildMember extends Base {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bans this guild member.
|
* Bans this guild member.
|
||||||
* @param {Object} [options] Ban options. If a number, the number of days to delete messages for, if a
|
* @param {Object} [options] Options for the ban
|
||||||
* string, the ban reason. Supplying an object allows you to do both.
|
|
||||||
* @param {number} [options.days=0] Number of days of messages to delete
|
* @param {number} [options.days=0] Number of days of messages to delete
|
||||||
* @param {string} [options.reason] Reason for banning
|
* @param {string} [options.reason] Reason for banning
|
||||||
* @returns {Promise<GuildMember>}
|
* @returns {Promise<GuildMember>}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue