pull/2/head
Dan Elkouby 2018-04-08 18:07:05 +03:00
parent a807187b92
commit 61b90bd9e8
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"^\.(edit)\s+(.*)$"))
@borg.on(util.admin_cmd(r"^\.(edit)(?:\s+(.*))?$"))
async def delete(event):
await event.delete()
command = event.pattern_match.group(1)