From 6909d125b325a531731f936dedf100bd1b76aaad Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 1 May 2017 14:10:38 +0000 Subject: [PATCH] Webpack build for branch master: 2ace21c412afba6f8e56ecdafffd5d5d82708fb8 --- discord.master.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/discord.master.js b/discord.master.js index f4ce25a8..cf4fdaa1 100644 --- a/discord.master.js +++ b/discord.master.js @@ -5669,7 +5669,8 @@ class GuildMember { /** * Ban this guild member - * @param {Object} [options] Ban options. + * @param {Object|number|string} [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 {number} [options.days=0] Number of days of messages to delete * @param {string} [options.reason] Reason for banning * @returns {Promise} @@ -8239,7 +8240,8 @@ class Guild { /** * Bans a user from the guild. * @param {UserResolvable} user The user to ban - * @param {Object} [options] Ban options. + * @param {Object|number|string} [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 {number} [options.days=0] Number of days of messages to delete * @param {string} [options.reason] Reason for banning * @returns {Promise} Result object will be resolved as specifically as possible.