diff options
| -rw-r--r-- | bot/__init__.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/__init__.py b/bot/__init__.py index 429c01829..4d78b238c 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -123,9 +123,9 @@ def _get_word(self) -> str:              buffer_pos += 2              parsed_result = self.buffer[self.previous:self.index + (buffer_pos+2)]              self.index += 2 -            args = '' +            return parsed_result -        if current == "(" and next_char: +        elif current == "(" and next_char:              # Parse the args              log.trace(f"Parsing command with ast.literal_eval. args are {tempbuffer[self.index:]}") | 
