-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(GuildChannel): support conversion between text and news #5022
Conversation
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
…cord.js into convert-channel-type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check the types (that they're right), and update it in TextChannel and ChannelData?
My bad missing the other two places, is there a reason you think the |
Discord.js did not support providing
type
in the GuildChannel#edit payload, this adds support for that and asetType
helper method on TextChannel and NewsChannel.The API will throw an error if attempting to convert to anything other than Text or News.
Status
Semantic versioning classification: