From 8203c5d843f2431c0f49023282f1bf73d85881d1 Mon Sep 17 00:00:00 2001 From: Ben <88249114+BenjammingKirby@users.noreply.github.com> Date: Wed, 23 Feb 2022 15:35:25 -0600 Subject: [PATCH] fix(guild): fix typo accessing user instead of users (#7537) --- packages/discord.js/src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/Guild.js b/packages/discord.js/src/structures/Guild.js index f0f502158..c1afc973a 100644 --- a/packages/discord.js/src/structures/Guild.js +++ b/packages/discord.js/src/structures/Guild.js @@ -718,7 +718,7 @@ class Guild extends AnonymousGuild { } if (options.user) { - const id = this.client.user.resolveId(options.user); + const id = this.client.users.resolveId(options.user); if (!id) throw new TypeError('INVALID_TYPE', 'user', 'UserResolvable'); query.set('user_id', id); }