You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to a Discord server that currently has a Stage channel running, you get an error stating that it cannot find that channel type in the list of valid enumeration values.
Possible Solution
The specific channel type here is 13 / GUILD_STAGE_VOICE
The solution is to add this to the enum on line 7354 of the (compiled) PoshBot.psm1 or more helpfully here.
There are also a few other channel types that it couldn't hurt to add, just in case. The full list can be found here.
I've manually edited this on my end and it is working now.
Steps to Reproduce (for bugs)
Have a Stage running.
Start PoshBot, get error (see Current Behavior above)
Expected Behavior
Discord backed connects without error.
Current Behavior
When connecting to a Discord server that currently has a Stage channel running, you get an error stating that it cannot find that channel type in the list of valid enumeration values.
Possible Solution
The specific channel type here is
13
/GUILD_STAGE_VOICE
The solution is to add this to the enum on line 7354 of the (compiled) PoshBot.psm1 or more helpfully here.
There are also a few other channel types that it couldn't hurt to add, just in case. The full list can be found here.
I've manually edited this on my end and it is working now.
Steps to Reproduce (for bugs)
Have a Stage running.
Start PoshBot, get error (see Current Behavior above)
Context
Stage Channels are a recent addition to Discord.
Your Environment
The text was updated successfully, but these errors were encountered: