mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
Webpack build for branch master: 140839128a
This commit is contained in:
parent
68f655f15d
commit
94597105cb
2 changed files with 2 additions and 1 deletions
|
|
@ -8257,6 +8257,7 @@ class Guild {
|
||||||
} else if (typeof options === 'string') {
|
} else if (typeof options === 'string') {
|
||||||
options = { reason: options, 'delete-message-days': 0 };
|
options = { reason: options, 'delete-message-days': 0 };
|
||||||
}
|
}
|
||||||
|
if (options.days) options['delete-message-days'] = options.days;
|
||||||
return this.client.rest.methods.banGuildMember(this, user, options);
|
return this.client.rest.methods.banGuildMember(this, user, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue