Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ForumChannel is missing some methods and properties #8654

Closed
Markus-Rost opened this issue Sep 21, 2022 · 1 comment · Fixed by #8662
Closed

ForumChannel is missing some methods and properties #8654

Markus-Rost opened this issue Sep 21, 2022 · 1 comment · Fixed by #8662

Comments

@Markus-Rost
Copy link
Contributor

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

@jaw0r3k
Copy link
Contributor

jaw0r3k commented Sep 21, 2022

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

@Jiralite Jiralite self-assigned this Sep 21, 2022
@kodiakhq kodiakhq bot closed this as completed in #8662 Sep 24, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants