From 388941924fe458a8fd4967bac064df1ec45b5e10 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 f64d01002..7f6ede14c 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -476,6 +476,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: