We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Literally any fix for this?
by calling ctx.guild.region
ctx.guild.region
`player = self.bot.lavalink.player_manager.create(ctx.guild.id, endpoint=str(ctx.guild.region))`
The old version could do this.
Guild has no attribute 'region'
discord.Intents().All()
No response
The text was updated successfully, but these errors were encountered:
Region was moved to be voice channel specific by discord.
Sorry, something went wrong.
https://discordpy.readthedocs.io/en/latest/migrating.html#removals
How to replace the code with it?
Regions are now per voice channel, so you'll have to do voice_channel.rtc_region where voice_channel is the channel you're connecting to.
voice_channel.rtc_region
voice_channel
No branches or pull requests
Summary
Literally any fix for this?
Reproduction Steps
by calling
ctx.guild.region
Minimal Reproducible Code
`player = self.bot.lavalink.player_manager.create(ctx.guild.id, endpoint=str(ctx.guild.region))`
Expected Results
The old version could do this.
Actual Results
Guild has no attribute 'region'
Intents
discord.Intents().All()
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: