mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-12 16:59:50 +00:00
Fix discord.Object documentation.
This commit is contained in:
parent
3c8fcd3584
commit
bbc78b29ae
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user