From 760efcd267a8a465ecacd6da29c081f7fce5cef9 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 30 Nov 2017 04:38:42 +0000 Subject: [PATCH] Webpack build for branch master: 134ef7a61b6d0c9c8ec23fc13a0a7e1b00295b5e --- discord.master.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/discord.master.js b/discord.master.js index d07c2900..fb2761ae 100644 --- a/discord.master.js +++ b/discord.master.js @@ -4928,10 +4928,16 @@ class Guild extends Base { return this.members.resolve(user); } + /** + * An object containing information about a guild member's ban. + * @typedef {Object} BanInfo + * @property {User} user User that was banned + * @property {?string} reason Reason the user was banned + */ + /** * Fetches a collection of banned users in this guild. - * The returned collection contains user objects keyed under `user` and reasons keyed under `reason`. - * @returns {Promise>} + * @returns {Promise>} */ fetchBans() { return this.client.api.guilds(this.id).bans.get().then(bans => @@ -4993,7 +4999,7 @@ class Guild extends Base { * @param {Snowflake|GuildAuditLogsEntry} [options.after] Limit to entries from after specified entry * @param {number} [options.limit] Limit number of entries * @param {UserResolvable} [options.user] Only show entries involving this user - * @param {ActionType|number} [options.type] Only show entries involving this action type + * @param {AuditLogAction|number} [options.type] Only show entries involving this action type * @returns {Promise} */ fetchAuditLogs(options = {}) {