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

Cannot move members to a stage channel #5673

Closed
AndyClausen opened this issue May 25, 2021 · 0 comments · Fixed by #5681 or #6684
Closed

Cannot move members to a stage channel #5673

AndyClausen opened this issue May 25, 2021 · 0 comments · Fixed by #5681 or #6684

Comments

@AndyClausen
Copy link
Contributor

Please describe the problem you are having in as much detail as possible:
If you try to move a member from a voice channel to a stage channel with a bot, it will throw a GUILD_VOICE_CHANNEL_RESOLVE error. It seems like this is neglect rather than intention. It's caused by this in GuildMemberManager.edit:

      if (!_data.channel || _data.channel.type !== 'voice') {
        throw new Error('GUILD_VOICE_CHANNEL_RESOLVE');
      }

Further details:

  • discord.js version: master branch (commit 0ca200f322f8cb21d0d3e5f6a70cc408d4f97ad1 from 24. May)
  • Node.js version: 14
  • Operating system: Win10
  • Priority this issue should have – please be realistic and elaborate if possible: Medium, it's not crucial, but it's definitely causing issues and unnecessary extra code for clients.
AndyClausen added a commit to AndyClausen/discord.js that referenced this issue May 27, 2021
change check on channel type to allow stage channel as well

close discordjs#5673
AndyClausen added a commit to AndyClausen/discord.js that referenced this issue May 29, 2021
change check on channel type to allow stage channel as well

close discordjs#5673
AndyClausen added a commit to AndyClausen/discord.js that referenced this issue May 29, 2021
change check on channel type to allow stage channel as well

close discordjs#5673
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants