Change docstring for Client.send_message to point to a valid property.

This commit is contained in:
Rapptz 2016-01-18 17:45:15 -05:00
parent 1f5d26b7d3
commit 99749a2798

View File

@ -897,7 +897,7 @@ class Client:
For convenience it could also be a :class:`User`. If it's a :class:`User` or :class:`PrivateChannel` 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. 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 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 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 destination ID. The destination ID is a *channel* so passing in a user