Skip to content

Commit

Permalink
fixes input_str
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Jun 29, 2020
1 parent 4a7c5e3 commit 7bd12f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/core/methods/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self,
def input_str(self) -> str:
""" Returns the input string without command """
input_ = self.text.html
if ' ' in input_:
if ' ' in input_ or '\n' in input_:
return str(input_.split(maxsplit=1)[1].strip())
return ''

Expand Down

0 comments on commit 7bd12f8

Please sign in to comment.