Compare commits
No commits in common. "1a5b4f95e7f367a2bc08c4b4ef496dc5dbef5fab" and "2c4a0921a7a12628db77204fb0f955debf533969" have entirely different histories.
1a5b4f95e7
...
2c4a0921a7
@ -285,6 +285,6 @@ async def ensure_joined(message):
|
||||
|
||||
|
||||
def command_allowed(message):
|
||||
if not message.author.voice or not message.guild.voice_client:
|
||||
if 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