diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py index c7d877462..139b75e91 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -72,11 +72,11 @@ class MissingRequiredArgument(UserInputError): Attributes ----------- - param: str + param: :class:`inspect.Parameter` The argument that is missing. """ def __init__(self, param): - self.param = param.name + self.param = param super().__init__('{0.name} is a required argument that is missing.'.format(param)) class TooManyArguments(UserInputError):