diff --git a/redbot/cogs/alias/alias_entry.py b/redbot/cogs/alias/alias_entry.py index d2a607bf229..159e68fa4ab 100644 --- a/redbot/cogs/alias/alias_entry.py +++ b/redbot/cogs/alias/alias_entry.py @@ -62,9 +62,7 @@ def get_extra_args_from_alias(self, message: discord.Message, prefix: str) -> st word = view.get_quoted_word() if len(word) < view.index - prev: word = "".join((view.buffer[prev], word, view.buffer[view.index - 1])) - extra.append(word) - extra[0] = extra[0].strip(" ") - extra[len(extra) - 1] = extra[len(extra) - 1].strip(" ") + extra.append(word.strip(" ")) return extra def to_json(self) -> dict: