aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
authorBeatButton <[email protected]>2018-09-09 09:19:50 -0600
committerRapptz <[email protected]>2018-09-14 22:55:27 -0400
commita4d1599ce92e39d93ff6ccb08ef4511d8b2543be (patch)
tree11af80b8e22dce5f37ed7f9cdd157d5213c8fd90 /discord/user.py
parentBump aiohttp contraint to <3.5.0 (diff)
downloaddiscord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.tar.xz
discord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.zip
Change docstrings to raw-strings
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/user.py b/discord/user.py
index fa4c0719..3fa5090d 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -305,12 +305,12 @@ class ClientUser(BaseUser):
@property
def friends(self):
- """Returns a :class:`list` of :class:`User`\s that the user is friends with."""
+ r"""Returns a :class:`list` of :class:`User`\s that the user is friends with."""
return [r.user for r in self._relationships.values() if r.type is RelationshipType.friend]
@property
def blocked(self):
- """Returns a :class:`list` of :class:`User`\s that the user has blocked."""
+ r"""Returns a :class:`list` of :class:`User`\s that the user has blocked."""
return [r.user for r in self._relationships.values() if r.type is RelationshipType.blocked]
async def edit(self, **fields):
@@ -414,7 +414,7 @@ class ClientUser(BaseUser):
self.__init__(state=self._state, data=data)
async def create_group(self, *recipients):
- """|coro|
+ r"""|coro|
Creates a group direct message with the recipients
provided. These recipients must be have a relationship