forked from uniborg/uniborg
Require whitespace before args in ninja
This commit is contained in:
parent
9a2c91160e
commit
a807187b92
|
@ -34,7 +34,7 @@ async def await_read(chat, message):
|
|||
|
||||
|
||||
@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):
|
||||
await event.delete()
|
||||
command = event.pattern_match.group(1)
|
||||
|
|
Loading…
Reference in New Issue