diff options
| author | Alex Nørgaard <[email protected]> | 2021-03-24 12:19:05 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-24 08:19:05 -0400 |
| commit | 456a5dfa590dcbfec56557f2cfa783059ac2a7a8 (patch) | |
| tree | 14701870242e062f3b0aeb59f16c96dc94368f57 /discord/user.py | |
| parent | [docs] Conveter -> Converter (diff) | |
| download | discord.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.py | 4 |
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. |