aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
authorAlex Nørgaard <[email protected]>2021-03-24 12:19:05 +0000
committerGitHub <[email protected]>2021-03-24 08:19:05 -0400
commit456a5dfa590dcbfec56557f2cfa783059ac2a7a8 (patch)
tree14701870242e062f3b0aeb59f16c96dc94368f57 /discord/user.py
parent[docs] Conveter -> Converter (diff)
downloaddiscord.py-456a5dfa590dcbfec56557f2cfa783059ac2a7a8.tar.xz
discord.py-456a5dfa590dcbfec56557f2cfa783059ac2a7a8.zip
Update create_dm documentation to say it's a coroutine
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/user.py b/discord/user.py
index 9c4aab31..ff60fb71 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -744,7 +744,9 @@ class User(BaseUser, discord.abc.Messageable):
return [guild for guild in self._state._guilds.values() if guild.get_member(self.id)]
async def create_dm(self):
- """Creates a :class:`DMChannel` with this user.
+ """|coro|
+
+ Creates a :class:`DMChannel` with this user.
This should be rarely called, as this is done transparently for most
people.