mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +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
|
||||
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
|
||||
|
||||
channel = me_voice.channel
|
||||
|
|
Loading…
Reference in a new issue