We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a35d760 commit 27d0659Copy full SHA for 27d0659
packages/discord.js/src/structures/ThreadChannel.js
@@ -300,7 +300,7 @@ class ThreadChannel extends BaseChannel {
300
}
301
302
// TODO: Remove that catch in the next major version
303
- const member = await this.members._fetchSingle({ ...options, user: this.ownerId }).catch(error => {
+ const member = await this.members._fetchSingle({ ...options, member: this.ownerId }).catch(error => {
304
if (error instanceof DiscordAPIError && error.code === RESTJSONErrorCodes.UnknownMember) {
305
return null;
306
0 commit comments