mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Fix pluralization errors in various files
* Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
This commit is contained in:
committed by
Danny
parent
84e9168447
commit
fc5a2936dd
@ -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
|
||||
------
|
||||
|
Reference in New Issue
Block a user