aboutsummaryrefslogtreecommitdiff
path: root/discord/widget.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2019-05-18 06:04:54 -0400
committerRapptz <[email protected]>2019-06-07 19:27:46 -0400
commit3c9bcc285147154a2980f6e661efdfa676672b6a (patch)
tree657bafa75e4e0d45361e394443ea932ad70e86a7 /discord/widget.py
parentAdded comment for/redo system information (diff)
downloaddiscord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz
discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip
Improve documentation
Diffstat (limited to 'discord/widget.py')
-rw-r--r--discord/widget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/widget.py b/discord/widget.py
index 59e6a82f..988b0b0e 100644
--- a/discord/widget.py
+++ b/discord/widget.py
@@ -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