From 99749a2798d6aaea62d57a4a8b4611f579601fcb Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 18 Jan 2016 17:45:15 -0500 Subject: [PATCH] Change docstring for Client.send_message to point to a valid property. --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/client.py b/discord/client.py index 1b20f5fe6..971d4f627 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