From 4626bca76fe053a4cf0513c4836c5fcb291249cc Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 8 Sep 2017 19:45:03 -0400 Subject: [PATCH] Fix resolveID typo in guild.unban (#1913) --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 9c70db67a..8a4b8db21 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -842,7 +842,7 @@ class Guild extends Base { * .catch(console.error); */ 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'); return this.client.api.guilds(this.id).bans[id].delete({ reason }) .then(() => user);