From 739bca075db7a6240ec309f07c1338ce58d649f8 Mon Sep 17 00:00:00 2001 From: bsian03 Date: Wed, 31 Mar 2021 21:28:58 +0100 Subject: [PATCH] Clarify banGuildMember() deleteMessages limits (#1151) --- lib/structures/Guild.js | 2 +- lib/structures/Member.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/structures/Guild.js b/lib/structures/Guild.js index e69a74422..b4196f246 100644 --- a/lib/structures/Guild.js +++ b/lib/structures/Guild.js @@ -319,7 +319,7 @@ class Guild extends Base { /** * Ban a user from the guild * @arg {String} userID The ID of the member - * @arg {Number} [deleteMessageDays=0] Number of days to delete messages for + * @arg {Number} [deleteMessageDays=0] Number of days to delete messages for, between 0-7 inclusive * @arg {String} [reason] Reason for the ban * @returns {Promise} */ diff --git a/lib/structures/Member.js b/lib/structures/Member.js index a0e116c7d..7488d2d76 100644 --- a/lib/structures/Member.js +++ b/lib/structures/Member.js @@ -175,7 +175,7 @@ class Member extends Base { /** * Ban the user from the guild - * @arg {Number} [deleteMessageDays=0] Number of days to delete messages for + * @arg {Number} [deleteMessageDays=0] Number of days to delete messages for, between 0-7 inclusive * @arg {String} [reason] The reason to be displayed in audit logs * @returns {Promise} */