discord.js icon indicating copy to clipboard operation
discord.js copied to clipboard

ForumChannel is missing some methods and properties

Open Markus-Rost opened this issue 2 years ago • 1 comments

Which package is this bug report for?

discord.js

Issue description

The new ForumChannel added in 14.4.0 still seems to be missing some methods that other channels have and are possible on forum channels as well. This includes, but is probably not limited to:

  • .createInvite()
  • .createWebhook()
  • .fetchInvites()
  • .fetchWebhooks()
  • .setDefaultAutoArchiveDuration()
  • .setNSFW()
  • .setTopic()
  • .defaultAutoArchiveDuration
  • .nsfw
  • .topic

Code sample

No response

Package version

v14.4.0

Node.js version

v18.1.0

Operating system

No response

Priority this issue should have

Medium (should be fixed soon)

Which partials do you have configured?

Channel

Which gateway intents are you subscribing to?

Guilds, GuildMessages, GuildMessageReactions, DirectMessages, DirectMessageReactions, MessageContent

I have tested this issue on a development release

No response

Markus-Rost avatar Sep 21 '22 13:09 Markus-Rost

Yeah these are the methods from TextBasedChannel which it is not extending

jaw0r3k avatar Sep 21 '22 16:09 jaw0r3k