Merged master branch
parent
f344562702
commit
fda5e1b3d7
|
@ -40,8 +40,10 @@ class Frank(discord.Client):
|
|||
cmd = shlex.split(message.content.strip())
|
||||
|
||||
if cmd[0] == self.PREFIX:
|
||||
matched_mods = (mod for mod in self._loaded_modules if
|
||||
mod.match(cmd[1]))
|
||||
matched_mods = (
|
||||
mod for mod in self._loaded_modules if mod.match(cmd[1])
|
||||
)
|
||||
|
||||
module = next(matched_mods, None)
|
||||
|
||||
if module:
|
||||
|
|
Reference in New Issue