remove unnecessary strip

This commit is contained in:
udf 2018-04-08 19:07:12 +02:00
parent 61b90bd9e8
commit 32e9a20f39
1 changed files with 1 additions and 1 deletions

View File

@ -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)