From 1f053e0a322e7da1041ca23816622d7f052c8765 Mon Sep 17 00:00:00 2001 From: Daniel Diaz <44991848+DanLCD@users.noreply.github.com> Date: Sun, 12 Jun 2022 14:36:21 -0500 Subject: [PATCH] [commands] Document argument attribute in BadInviteArgument --- discord/ext/commands/errors.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py index ac6986fc2..6587aa0d7 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -478,6 +478,11 @@ class BadInviteArgument(BadArgument): This inherits from :exc:`BadArgument` .. versionadded:: 1.5 + + Attributes + ----------- + argument: :class:`str` + The invite supplied by the caller that was not valid """ def __init__(self, argument: str) -> None: