Compare commits
2 Commits
2c4a0921a7
...
1a5b4f95e7
Author | SHA1 | Date | |
---|---|---|---|
1a5b4f95e7 | |||
bfa1a35922 |
@ -285,6 +285,6 @@ async def ensure_joined(message):
|
||||
|
||||
|
||||
def command_allowed(message):
|
||||
if not message.guild.voice_client:
|
||||
if not message.author.voice or not message.guild.voice_client:
|
||||
return False
|
||||
return message.author.voice.channel.id == message.guild.voice_client.channel.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user