Fix pluralization errors in various files

* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
This commit is contained in:
Ehren Julien-Neitzert
2019-05-23 23:31:17 -04:00
committed by Danny
parent 84e9168447
commit fc5a2936dd
5 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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
------