diff --git a/revolt/ext/commands/command.py b/revolt/ext/commands/command.py index d751bd6..cc59a2e 100755 --- a/revolt/ext/commands/command.py +++ b/revolt/ext/commands/command.py @@ -17,7 +17,7 @@ __all__ = ( class Command: """Class for holding info about a command. - + Parameters ----------- callback: Callable[..., Coroutine[Any, Any, Any]] @@ -79,6 +79,9 @@ class Command: async def _error_handler(ctx: Context, error: Exception): traceback.print_exception(type(error), error, error.__traceback__) + def __repr__(self) -> str: + return f"" + def command(*, name: Optional[str] = None, aliases: Optional[list[str]] = None, cls: type[Command] = Command): """Turns a function into a :class:`Command`.