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);