Skip to content

Commit

Permalink
fix(ThreadChannel): Omit webhook fetching (#8351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jul 24, 2022
1 parent 58c1b51 commit 3839958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ThreadChannel.js
Expand Up @@ -541,6 +541,6 @@ class ThreadChannel extends BaseChannel {
// Doesn't work on Thread channels; setNSFW() {}
}

TextBasedChannel.applyToClass(ThreadChannel, true, ['setRateLimitPerUser', 'setNSFW']);
TextBasedChannel.applyToClass(ThreadChannel, true, ['fetchWebhooks', 'setRateLimitPerUser', 'setNSFW']);

module.exports = ThreadChannel;

1 comment on commit 3839958

@vercel
Copy link

@vercel vercel bot commented on 3839958 Jul 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.