Improve documentation

This commit is contained in:
NCPlayz authored and Rapptz committed 2019-06-07 19:27:46 -04:00
1 parent 2f05436653
commit 3c9bcc2851
48 files changed
+652 -569

No files matched your search

+2 -2
View File
@@ -73,7 +73,7 @@ class WidgetChannel(namedtuple('WidgetChannel', 'id name position')):
@property
def created_at(self):
"""Returns the channel's creation time in UTC."""
""":class:`datetime.datetime`: Returns the channel's creation time in UTC."""
return snowflake_time(self.id)
class WidgetMember(BaseUser):
@@ -229,7 +229,7 @@ class Widget:
"""|coro|
Retrieves an :class:`Invite` from a invite URL or ID.
This is the same as :meth:`Client.get_invite`; the invite
This is the same as :meth:`Client.fetch_invite`; the invite
code is abstracted away.
Parameters