Fix docs in BadInviteArgument class #76

Merged
NORXND merged 1 commits from 2.0 into 2.0 2021-09-26 05:39:10 +00:00
NORXND commented 2021-09-23 18:53:11 +00:00 (Migrated from github.com)

Add missing "argument" to docs in BadInviteArgument class.

Summary

This is a very quick fix, I noticed "argument" is missing in docs but it exists in code:

class BadInviteArgument(BadArgument):
   # [...]
   def __init__(self, argument: str) -> None:
        self.argument: str = argument # <--
        # [...]

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
Add missing "argument" to docs in BadInviteArgument class. <!-- Pull requests that do not fill this information in will likely be closed --> ## Summary This is a very quick fix, I noticed "argument" is missing in [docs](https://enhanced-dpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.BadInviteArgument) but it exists in code: ```py class BadInviteArgument(BadArgument): # [...] def __init__(self, argument: str) -> None: self.argument: str = argument # <-- # [...] ``` <!-- What is this pull request for? Does it fix any issues? --> ## Checklist <!-- Put an x inside [ ] to check it, like so: [x] --> - [ ] If code changes were made then they have been tested. - [ ] I have updated the documentation to reflect the changes. - [ ] This PR fixes an issue. - [ ] This PR adds something new (e.g. new method or parameters). - [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed) - [x] This PR is **not** a code change (e.g. documentation, README, ...)
IAmTomahawkx (Migrated from github.com) approved these changes 2021-09-26 05:39:02 +00:00
Sign in to join this conversation.
No description provided.