Closed Alkovalic closed 7 years ago
Is this a userbot or a real bot?
Oh, userbot. Sorry.
Known bug for user bots due to the guild sync change internally. Hard to fix in the current code base.
Okay, I'll finally make the switch to a real bot.
Thank you for your help!
My bot takes
message.author.voice_channel
upon a summon command, and joins that particular channel. (using themessage
obtained viaon_message
)voice = await self.join_voice_channel(message.author.voice_channel)
However,
message.author.voice_channel
returnsNone
unless the user switches voice channels before summoning it.The exception is myself: if I use the summon command, then the bot joins the channel without issue, without me changing voice channels beforehand.
How do I get
message.author.voice_channel
to return the voice channel the user is in without having them switch voice channels beforehand?