backwards compat docs

This commit is contained in:
Amish Shah
2017-05-01 15:10:11 +01:00
parent 140839128a
commit 2ace21c412
2 changed files with 4 additions and 2 deletions

View File

@@ -482,7 +482,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<GuildMember>}