mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-22 02:25:22 -04:00
Fix command repr (#22)
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user