Fix pluralization errors in various files
* Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
This commit is contained in:
parent
84e9168447
commit
fc5a2936dd
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@ -32,7 +32,7 @@ If the bug report is missing this information then it'll take us longer to fix t
|
||||
|
||||
## Submitting a Pull Request
|
||||
|
||||
Submitting a pull request is fairly simple, just make sure it focuses on a single aspect and doesn't manage to have scope creep and it's probably good to go. It would be incredibly lovely if the style is consistent to those found in the project. This project follows PEP-8 guidelines (mostly) with a column limit of 125.
|
||||
Submitting a pull request is fairly simple, just make sure it focuses on a single aspect and doesn't manage to have scope creep and it's probably good to go. It would be incredibly lovely if the style is consistent to that found in the project. This project follows PEP-8 guidelines (mostly) with a column limit of 125.
|
||||
|
||||
### Git Commit Guidelines
|
||||
|
||||
|
@ -905,7 +905,7 @@ class Messageable(metaclass=abc.ABCMeta):
|
||||
return [state.create_message(channel=channel, data=m) for m in data]
|
||||
|
||||
def history(self, *, limit=100, before=None, after=None, around=None, oldest_first=None):
|
||||
"""Return an :class:`.AsyncIterator` that enables receiving the destination's message history.
|
||||
"""Returns an :class:`.AsyncIterator` that enables receiving the destination's message history.
|
||||
|
||||
You must have :attr:`~.Permissions.read_message_history` permissions to use this.
|
||||
|
||||
|
@ -1458,7 +1458,7 @@ class Guild(Hashable):
|
||||
return state.http.ack_guild(self.id)
|
||||
|
||||
def audit_logs(self, *, limit=100, before=None, after=None, oldest_first=None, user=None, action=None):
|
||||
"""Return an :class:`AsyncIterator` that enables receiving the guild's audit logs.
|
||||
"""Returns an :class:`AsyncIterator` that enables receiving the guild's audit logs.
|
||||
|
||||
You must have the :attr:`~Permissions.view_audit_log` permission to use this.
|
||||
|
||||
|
@ -98,7 +98,7 @@ class Attachment:
|
||||
more often, compared to the regular URL which is generally deleted right
|
||||
after the message is deleted. Note that this can still fail to download
|
||||
deleted attachments if too much time has passed and it does not work
|
||||
on some type of attachments.
|
||||
on some types of attachments.
|
||||
|
||||
Raises
|
||||
--------
|
||||
@ -137,7 +137,7 @@ class Attachment:
|
||||
more often, compared to the regular URL which is generally deleted right
|
||||
after the message is deleted. Note that this can still fail to download
|
||||
deleted attachments if too much time has passed and it does not work
|
||||
on some type of attachments.
|
||||
on some types of attachments.
|
||||
|
||||
Raises
|
||||
------
|
||||
|
@ -1642,7 +1642,7 @@ this goal, it must make use of a couple of data classes that aid in this goal.
|
||||
|
||||
.. describe:: iter(diff)
|
||||
|
||||
Return an iterator over (attribute, value) tuple of this diff.
|
||||
Returns an iterator over (attribute, value) tuple of this diff.
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user