aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-18 02:15:36 -0400
committerRapptz <[email protected]>2016-06-18 02:15:36 -0400
commit6b4d22ce810e7a263e31ec487785ba62b3d95f56 (patch)
tree9115085b47d26c87b9e366df2c9942eeb02172b7
parentAdd support for message pinning. (diff)
downloaddiscord.py-6b4d22ce810e7a263e31ec487785ba62b3d95f56.tar.xz
discord.py-6b4d22ce810e7a263e31ec487785ba62b3d95f56.zip
Clarify that Client.logs_from can take a PrivateChannel too.
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 039188ef..e7ef7073 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1187,7 +1187,7 @@ class Client:
Parameters
-----------
- channel : :class:`Channel`
+ channel : :class:`Channel` or :class:`PrivateChannel`
The channel to obtain the logs from.
limit : int
The number of messages to retrieve.