Browse Source

[commands] Document argument attribute in BadInviteArgument

pull/8156/head
Daniel Diaz 3 years ago
committed by GitHub
parent
commit
1f053e0a32
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      discord/ext/commands/errors.py

5
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:

Loading…
Cancel
Save