mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
Fix attr error
This commit is contained in:
parent
809638b1dc
commit
db51802086
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Events(commands.Cog):
|
||||||
*_
|
*_
|
||||||
):
|
):
|
||||||
me_voice = member.guild.me.voice
|
me_voice = member.guild.me.voice
|
||||||
if me_voice is None or me_voice.channel is None:
|
if me_voice is None or me_voice.channel is None or member.guild.voice_client is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
channel = me_voice.channel
|
channel = me_voice.channel
|
||||||
|
|
Loading…
Reference in a new issue