Fix command repr (#22)

This commit is contained in:
LightSage
2021-11-13 04:35:57 -06:00
committed by GitHub
parent 91fde98739
commit 21d27bd44a
+1 -1
View File
@@ -128,7 +128,7 @@ class Command:
context.args.append(await self.convert_argument(context.view.get_next_word(), parameter, context))
def __repr__(self) -> str:
return f"<Command name=\"{self.name}>\""
return f"<Command name=\"{self.name}\">"
def command(*, name: Optional[str] = None, aliases: Optional[list[str]] = None, cls: type[Command] = Command):
"""A decorator that turns a function into a :class:`Command`.