aboutsummaryrefslogtreecommitdiff
path: root/discord/object.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-05-31 20:39:12 -0400
committerRapptz <[email protected]>2016-05-31 20:39:12 -0400
commitbbc78b29aed82975af2793aa99f252bab61bed4c (patch)
treef93066f15ae2227dd08ef1f0001ea828a19f65ca /discord/object.py
parent[commands] Add support for self-bots. (diff)
downloaddiscord.py-bbc78b29aed82975af2793aa99f252bab61bed4c.tar.xz
discord.py-bbc78b29aed82975af2793aa99f252bab61bed4c.zip
Fix discord.Object documentation.
Diffstat (limited to 'discord/object.py')
-rw-r--r--discord/object.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/object.py b/discord/object.py
index 2bf2d495..5ea9be2c 100644
--- a/discord/object.py
+++ b/discord/object.py
@@ -29,7 +29,7 @@ class Object:
"""Represents a generic Discord object.
The purpose of this class is to allow you to create 'miniature'
- versions of data classes if you want to pass in just an ID. All functions
+ versions of data classes if you want to pass in just an ID. Most functions
that take in a specific data class with an ID can also take in this class
as a substitute instead. Note that even though this is the case, not all
objects (if any) actually inherit from this class.
@@ -50,5 +50,5 @@ class Object:
@property
def created_at(self):
- """Returns the private channel's creation time in UTC."""
+ """Returns the snowflake's creation time in UTC."""
return utils.snowflake_time(self.id)