diff options
| author | Rapptz <[email protected]> | 2021-04-04 23:54:08 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-04 23:54:08 -0400 |
| commit | ff7094ce9602bad0b4408761841fa02bdb908987 (patch) | |
| tree | d0d37067183f6827398181e598133146f870fa26 /discord/invite.py | |
| parent | Remove some lingering userbot classes in the documentation (diff) | |
| download | discord.py-ff7094ce9602bad0b4408761841fa02bdb908987.tar.xz discord.py-ff7094ce9602bad0b4408761841fa02bdb908987.zip | |
Convert datetimes to aware datetimes with UTC.
Naive datetimes will now be interpreted as local time throughout
the library.
Diffstat (limited to 'discord/invite.py')
| -rw-r--r-- | discord/invite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/invite.py b/discord/invite.py index 939c6293..d4d7d3d0 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -265,7 +265,7 @@ class Invite(Hashable): revoked: :class:`bool` Indicates if the invite has been revoked. created_at: :class:`datetime.datetime` - A datetime object denoting the time the invite was created. + An aware UTC datetime object denoting the time the invite was created. temporary: :class:`bool` Indicates that the invite grants temporary membership. If ``True``, members who joined via this invite will be kicked upon disconnect. |