docs(Ban): days must be 0-7 (#4693)

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
This commit is contained in:
Advaith
2020-08-12 00:35:33 -07:00
committed by GitHub
parent f2f31a14c9
commit 446bbfe9eb
2 changed files with 2 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ class GuildMember extends Base {
/**
* Bans this guild member.
* @param {Object} [options] Options for the ban
* @param {number} [options.days=0] Number of days of messages to delete
* @param {number} [options.days=0] Number of days of messages to delete, must be between 0 and 7
* @param {string} [options.reason] Reason for banning
* @returns {Promise<GuildMember>}
* @example