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):
|
def command_allowed(message):
|
||||||
if not message.author.voice or not message.guild.voice_client:
|
if not message.guild.voice_client:
|
||||||
return False
|
return False
|
||||||
return message.author.voice.channel.id == message.guild.voice_client.channel.id
|
return message.author.voice.channel.id == message.guild.voice_client.channel.id
|
||||||
|
1
core.py
1
core.py
@ -124,6 +124,7 @@ async def on_message(message):
|
|||||||
|
|
||||||
def rreload(reloaded_modules, module):
|
def rreload(reloaded_modules, module):
|
||||||
reloaded_modules.add(module.__name__)
|
reloaded_modules.add(module.__name__)
|
||||||
|
importlib.reload(module)
|
||||||
|
|
||||||
for submodule in filter(
|
for submodule in filter(
|
||||||
lambda v: inspect.ismodule(v)
|
lambda v: inspect.ismodule(v)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user