fix(guild): fix typo accessing user instead of users (#7537)

This commit is contained in:
Ben
2022-02-23 15:35:25 -06:00
committed by GitHub
parent 51583320d3
commit 8203c5d843

View File

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