This PR adds four additional channel types to the Discord implementation:
GUILD_NEWS_THREAD
GUILD_PUBLIC_THREAD
GUILD_PRIVATE_THREAD
GUILD_STAGE_VOICE
Adding GUILD_STAGE_VOICE resolves #241 and the others are included for completeness.
Related Issue
241
Motivation and Context
This enables PoshBot to connect to servers that happen to have temporary channels, such as Stages or Threads at the time that it connects to the server.
How Has This Been Tested?
I have made this change to PoshBot on my local machine, and it resolved my issue connecting to the Chocolatey server which happens to currently have a Stage channel running.
For completeness, I also tested against a server without a Stage running to ensure it didn't affect that (not that I expected editing an enum to have affected that.)
Screenshots (if appropriate):
N/A - There are screenshots of the issue this fixes in #241
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
This PR adds four additional channel types to the Discord implementation:
GUILD_NEWS_THREAD
GUILD_PUBLIC_THREAD
GUILD_PRIVATE_THREAD
GUILD_STAGE_VOICE
Adding
GUILD_STAGE_VOICE
resolves #241 and the others are included for completeness.Related Issue
241
Motivation and Context
This enables PoshBot to connect to servers that happen to have temporary channels, such as Stages or Threads at the time that it connects to the server.
How Has This Been Tested?
I have made this change to PoshBot on my local machine, and it resolved my issue connecting to the Chocolatey server which happens to currently have a Stage channel running.
For completeness, I also tested against a server without a Stage running to ensure it didn't affect that (not that I expected editing an enum to have affected that.)
Screenshots (if appropriate):
N/A - There are screenshots of the issue this fixes in #241
Types of changes
Checklist: