Skip to content

Commit

Permalink
Clarify banGuildMember() deleteMessages limits (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 authored Mar 31, 2021
1 parent 8acd468 commit 739bca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/structures/Member.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand Down

0 comments on commit 739bca0

Please sign in to comment.