diff options
| author | Rapptz <[email protected]> | 2017-02-08 22:50:33 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-02-08 22:51:40 -0500 |
| commit | 3504de4635ee8d40c8119d9453ec318c4820e8a0 (patch) | |
| tree | 556e7845a30102e28c0b48bddc29a882fcce2bf3 | |
| parent | Fix support for instant invites. (diff) | |
| download | discord.py-3504de4635ee8d40c8119d9453ec318c4820e8a0.tar.xz discord.py-3504de4635ee8d40c8119d9453ec318c4820e8a0.zip | |
Fix more places where server is used instead of guild in docstrings.
| -rw-r--r-- | discord/guild.py | 2 | ||||
| -rw-r--r-- | discord/message.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/discord/guild.py b/discord/guild.py index aeb4002b..2888b822 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -301,7 +301,7 @@ class Guild(Hashable): @property def splash_url(self): - """Returns the URL version of the server's invite splash. Returns an empty string if it has no splash.""" + """Returns the URL version of the guild's invite splash. Returns an empty string if it has no splash.""" if self.splash is None: return '' return 'https://cdn.discordapp.com/splashes/{0.id}/{0.splash}.jpg?size=2048'.format(self) diff --git a/discord/message.py b/discord/message.py index 72a08c4f..ac07fc6b 100644 --- a/discord/message.py +++ b/discord/message.py @@ -486,7 +486,7 @@ class Message: Add a reaction to the message. - The emoji may be a unicode emoji or a custom server :class:`Emoji`. + The emoji may be a unicode emoji or a custom guild :class:`Emoji`. You must have the :attr:`Permissions.add_reactions` permission to add new reactions to a message. @@ -523,7 +523,7 @@ class Message: Remove a reaction by the member from the message. - The emoji may be a unicode emoji or a custom server :class:`Emoji`. + The emoji may be a unicode emoji or a custom guild :class:`Emoji`. If the reaction is not your own (i.e. ``member`` parameter is not you) then the :attr:`Permissions.manage_messages` permission is needed. |