Fix more places where server is used instead of guild in docstrings.
This commit is contained in:
parent
274e6af0dd
commit
3504de4635
@ -301,7 +301,7 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def splash_url(self):
|
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:
|
if self.splash is None:
|
||||||
return ''
|
return ''
|
||||||
return 'https://cdn.discordapp.com/splashes/{0.id}/{0.splash}.jpg?size=2048'.format(self)
|
return 'https://cdn.discordapp.com/splashes/{0.id}/{0.splash}.jpg?size=2048'.format(self)
|
||||||
|
@ -486,7 +486,7 @@ class Message:
|
|||||||
|
|
||||||
Add a reaction to the 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
|
You must have the :attr:`Permissions.add_reactions` permission to
|
||||||
add new reactions to a message.
|
add new reactions to a message.
|
||||||
@ -523,7 +523,7 @@ class Message:
|
|||||||
|
|
||||||
Remove a reaction by the member from the 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
|
If the reaction is not your own (i.e. ``member`` parameter is not you) then
|
||||||
the :attr:`Permissions.manage_messages` permission is needed.
|
the :attr:`Permissions.manage_messages` permission is needed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user