From 32e9a20f39b563f26b5c9d1f170b12c00c091a8a Mon Sep 17 00:00:00 2001 From: udf Date: Sun, 8 Apr 2018 19:07:12 +0200 Subject: [PATCH] remove unnecessary strip --- stdplugins/ninja.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdplugins/ninja.py b/stdplugins/ninja.py index afd527f..1add409 100644 --- a/stdplugins/ninja.py +++ b/stdplugins/ninja.py @@ -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)