forked from kate/uniborg
remove unnecessary strip
This commit is contained in:
parent
61b90bd9e8
commit
32e9a20f39
|
@ -39,7 +39,7 @@ async def delete(event):
|
||||||
await event.delete()
|
await event.delete()
|
||||||
command = event.pattern_match.group(1)
|
command = event.pattern_match.group(1)
|
||||||
if command == 'edit':
|
if command == 'edit':
|
||||||
text = event.pattern_match.group(2).strip()
|
text = event.pattern_match.group(2)
|
||||||
if not text:
|
if not text:
|
||||||
return
|
return
|
||||||
target = await get_target_message(event)
|
target = await get_target_message(event)
|
||||||
|
|
Loading…
Reference in New Issue