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