forked from uniborg/uniborg
fix
This commit is contained in:
parent
a807187b92
commit
61b90bd9e8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue