aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-05-15 00:40:44 +0200
committerGravatar Leon Sandøy <[email protected]>2018-05-15 00:40:44 +0200
commitf8e78b41e21bfc3b4df5b17cc82c0b4b96a38e72 (patch)
treebafee79fbc68427553a8af4029cc28cbf0af7391
parentMinor bug with tags - wrong variable name, no import. (diff)
Python parser bug. How on earth haven't we seen this before now?
-rw-r--r--bot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index d4b9b13a0..c4f99216a 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -217,7 +217,7 @@ def _get_word(self) -> str:
self.buffer = f"{prefix}{parsed_result}"
if new_args:
- self.buffer += ' '.join(new_args)
+ self.buffer += (" " + " ".join(new_args))
self.index = len(f"{prefix}{parsed_result}")
self.end = len(self.buffer)