Webpack build for branch master: 4626bca76f

This commit is contained in:
Travis CI 2017-09-08 23:49:00 +00:00
parent 772fefa442
commit 5eda8af4e5
2 changed files with 2 additions and 2 deletions

View file

@ -9162,7 +9162,7 @@ class Guild extends Base {
* .catch(console.error); * .catch(console.error);
*/ */
unban(user, reason) { unban(user, reason) {
const id = this.client.users.resolverID(user); const id = this.client.users.resolveID(user);
if (!id) throw new Error('BAN_RESOLVE_ID'); if (!id) throw new Error('BAN_RESOLVE_ID');
return this.client.api.guilds(this.id).bans[id].delete({ reason }) return this.client.api.guilds(this.id).bans[id].delete({ reason })
.then(() => user); .then(() => user);

File diff suppressed because one or more lines are too long