mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Change docstring for Client.send_message to point to a valid property.
This commit is contained in:
parent
1f5d26b7d3
commit
99749a2798
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user