Discord-Net-Labs / Discord.Net-Labs

An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net
https://labs.discordnet.dev
MIT License
156 stars 42 forks source link

Fix thread channel parent type #434

Closed quinchs closed 2 years ago

quinchs commented 2 years ago

Summary

This PR fixes an exception that occurs when a threads parent channel is not a text channel. Discord is rolling out new channel types that contain threads that are not text channels so this is future prep for them.

MrCakeSlayer commented 2 years ago

Labs is no longer maintained. Feel free to open a PR on the main repository if this PR is still valid.