diff options
| author | NCPlayz <[email protected]> | 2019-05-18 06:04:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-07 19:27:46 -0400 |
| commit | 3c9bcc285147154a2980f6e661efdfa676672b6a (patch) | |
| tree | 657bafa75e4e0d45361e394443ea932ad70e86a7 /discord/widget.py | |
| parent | Added comment for/redo system information (diff) | |
| download | discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.tar.xz discord.py-3c9bcc285147154a2980f6e661efdfa676672b6a.zip | |
Improve documentation
Diffstat (limited to 'discord/widget.py')
| -rw-r--r-- | discord/widget.py | 4 |
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 |