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

types(CategoryChannel): createChannel should default to a text channel #7132

Merged

Conversation

suneettipirneni
Copy link
Member

Please describe the changes this PR makes and why it should be merged:

Fixes issue where if type isn't explicitly set in the options the return type wouldn't be a text channel.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Copy link
Contributor

@ImRodry ImRodry left a comment

Choose a reason for hiding this comment

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

Tested and this works fine, just a small nit

typings/index.test-d.ts Outdated Show resolved Hide resolved
@suneettipirneni suneettipirneni force-pushed the types/default-category-channel-type branch 3 times, most recently from 98a8853 to 8ebd3b4 Compare December 20, 2021 23:39
@iCrawl iCrawl added this to the Version 13.4 milestone Dec 21, 2021
typings/index.d.ts Outdated Show resolved Hide resolved
@iCrawl
Copy link
Member

iCrawl commented Dec 22, 2021

This needs a rebase.

@suneettipirneni suneettipirneni force-pushed the types/default-category-channel-type branch from 8ebd3b4 to ee47e74 Compare December 22, 2021 11:50
@iCrawl iCrawl merged commit a0a5b0e into discordjs:main Dec 22, 2021
@suneettipirneni suneettipirneni deleted the types/default-category-channel-type branch February 7, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants