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

Forum and media channels have messages typed as present, but they are not #10609

Open
Jiralite opened this issue Nov 21, 2024 · 0 comments
Open

Comments

@Jiralite
Copy link
Member

Which package is this bug report for?

discord.js

Issue description

ForumChannel and MediaChannel do not have messages, but this field is present in the typings.

Code sample

import { ForumChannel, MediaChannel } from ".";

declare const forumChannel: ForumChannel;
declare const mediaChannel: MediaChannel;

forumChannel.messages; // GuildMessageManager | DMMessageManager
mediaChannel.messages; // GuildMessageManager | DMMessageManager

Versions

98153ba

Issue priority

Low (slightly annoying)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

I have tested this issue on a development release

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant