Browse Source

[commands] Document argument attribute in BadInviteArgument

pull/10109/head
Daniel Diaz 3 years ago
committed by dolfies
parent
commit
388941924f
  1. 5
      discord/ext/commands/errors.py

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

Loading…
Cancel
Save