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:
Frangu Vlad
2017-11-26 11:59:21 +02:00
committed by Crawl
parent 2f84d95077
commit efd1c4c516
2 changed files with 2 additions and 4 deletions

View File

@@ -815,8 +815,7 @@ class Guild extends Base {
/**
* Bans a user from the guild.
* @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
* string, the ban reason. Supplying an object allows you to do both.
* @param {Object} [options] Options for the ban
* @param {number} [options.days=0] Number of days of messages to delete
* @param {string} [options.reason] Reason for banning
* @returns {Promise<GuildMember|User|Snowflake>} Result object will be resolved as specifically as possible.

View File

@@ -521,8 +521,7 @@ class GuildMember extends Base {
/**
* Bans this guild member.
* @param {Object} [options] Ban options. If a number, the number of days to delete messages for, if a
* string, the ban reason. Supplying an object allows you to do both.
* @param {Object} [options] Options for the ban
* @param {number} [options.days=0] Number of days of messages to delete
* @param {string} [options.reason] Reason for banning
* @returns {Promise<GuildMember>}