Require whitespace before args in ninja

This commit is contained in:
Dan Elkouby 2018-04-08 18:03:35 +03:00
parent 9a2c91160e
commit a807187b92
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ async def await_read(chat, message):
@borg.on(util.admin_cmd(r"^\.(del)(?:ete)?$")) @borg.on(util.admin_cmd(r"^\.(del)(?:ete)?$"))
@borg.on(util.admin_cmd(r"^\.(edit)(.*)$")) @borg.on(util.admin_cmd(r"^\.(edit)\s+(.*)$"))
async def delete(event): async def delete(event):
await event.delete() await event.delete()
command = event.pattern_match.group(1) command = event.pattern_match.group(1)