diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 1eff773a2..fb6a6eed3 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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} Result object will be resolved as specifically as possible. diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 05266e1b8..21f84ec98 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -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}