diff options
| author | Rapptz <[email protected]> | 2016-01-18 17:45:15 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-18 17:45:53 -0500 |
| commit | 99749a2798d6aaea62d57a4a8b4611f579601fcb (patch) | |
| tree | 4c199d36768b237c036294ff79ce6c930b9900ea | |
| parent | Unit correction in voice docstrings. (diff) | |
| download | discord.py-99749a2798d6aaea62d57a4a8b4611f579601fcb.tar.xz discord.py-99749a2798d6aaea62d57a4a8b4611f579601fcb.zip | |
Change docstring for Client.send_message to point to a valid property.
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index 1b20f5fe..971d4f62 100644 --- a/discord/client.py +++ b/discord/client.py @@ -897,7 +897,7 @@ class Client: For convenience it could also be a :class:`User`. If it's a :class:`User` or :class:`PrivateChannel` then it sends the message via private message, otherwise it sends the message to the channel. If the destination is a :class:`Server` then it's equivalent to calling - :meth:`Server.get_default_channel` and sending it there. + :attr:`Server.default_channel` and sending it there. If it is a :class:`Object` instance then it is assumed to be the destination ID. The destination ID is a *channel* so passing in a user |