aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorEhren Julien-Neitzert <[email protected]>2019-05-23 23:31:17 -0400
committerDanny <[email protected]>2019-05-23 23:31:17 -0400
commitfc5a2936dd9456f1489dc1125c12448a2af23e15 (patch)
tree7c53fbf6c6a8779967c54d73b44269105c36bc79 /discord
parentGrammar fixes for notes on EmbedProxy (diff)
downloaddiscord.py-fc5a2936dd9456f1489dc1125c12448a2af23e15.tar.xz
discord.py-fc5a2936dd9456f1489dc1125c12448a2af23e15.zip
Fix pluralization errors in various files
* Replaced instances of 'return an' with 'returns an' * fixed pluralization errors
Diffstat (limited to 'discord')
-rw-r--r--discord/abc.py2
-rw-r--r--discord/guild.py2
-rw-r--r--discord/message.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/discord/abc.py b/discord/abc.py
index a0f424d6..6c0350db 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -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.
diff --git a/discord/guild.py b/discord/guild.py
index fc59ce70..2a6226aa 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -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.
diff --git a/discord/message.py b/discord/message.py
index 701dce8f..ddc8e612 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -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
------