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

Fix move command "No matching channels found" #445

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

rhaym-tech
Copy link
Contributor

Bug Description:

In all the ways bot returns "No matching channels found" error even if the voice channel exists

Bug Cause:

the cause is using the custom Guild method findMatchingChannels which only supports text channels.

Solution:

so I added another method called findMatchingVoiceChannels that can find voice channels too without touching the first to not break any functionality with other commands

Pull Request recap:

  • Changed ChannelType.GuildNews (which is deprecated now) with ChannelType.GuildAnnouncement
  • Added new method to Guild called findMatchingVoiceChannels that find voice channels starting from a channel mention
  • Pointed the move command to the new method

@saiteja-madha saiteja-madha changed the base branch from main to 5.5.0 February 5, 2024 07:30
@saiteja-madha saiteja-madha merged commit 6bc0226 into saiteja-madha:5.5.0 Feb 5, 2024
1 check passed
@saiteja-madha saiteja-madha mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants