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
Type fixes #586
Type fixes #586
Conversation
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.
More missing types from oldChannel
Co-Authored-By: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
if we really wanted to, we could get really specific with the |
@DonovanDMC Silly question, but how does one even change the channel type? Is that even possible? I didn't know discord supported that. |
I don't think you can change the type of channels. |
Then i think the best way to handle this would be to remove the |
A text channel can be converted to a news channel and vice versa. |
True, forgot about that. |
Ahh very good point so we do need the |
They were optional, due to the channel parameter being `AnyChannel`, but it's `AnyGuildChannel` now, therefore they will be there.
Decided to convert the types back to just |
Co-Authored-By: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
The
OldChannel
object, which is used in thechannelUpdate
event is missing thensfw
, andtype
properties, which are present in the jsdoc.