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

Discord Backend errors when connecting to server with "Stage" channel #241

Closed
Windos opened this issue Feb 5, 2022 · 0 comments · Fixed by #242
Closed

Discord Backend errors when connecting to server with "Stage" channel #241

Windos opened this issue Feb 5, 2022 · 0 comments · Fixed by #242

Comments

@Windos
Copy link
Contributor

Windos commented Feb 5, 2022

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.

Example error

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.

image

Start PoshBot, get error (see Current Behavior above)

Context

Stage Channels are a recent addition to Discord.

Your Environment

  • Module version used: 0.13.0
  • Operating System and PowerShell version: Windows Server 2022, Windows PowerShell 5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants