From 1614d6aa686938086439167d0d2a0735ac725057 Mon Sep 17 00:00:00 2001 From: NORXND Date: Thu, 23 Sep 2021 20:44:36 +0200 Subject: [PATCH] Fix docs in BadInviteArgument class Add missing "argument" to docs in BadInviteArgument class. --- 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 77aa4a8f..c8dde033 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -455,6 +455,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 found """ def __init__(self, argument: str) -> None: -- 2.47.2