aboutsummaryrefslogtreecommitdiff
path: root/discord/activity.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-01-21 03:47:56 -0500
committerRapptz <[email protected]>2020-01-21 03:47:56 -0500
commit02397306b2ed76b3bc42b2b28e8672e839bdeaf5 (patch)
tree90286ce3d6ec654f4be9952a9459675c7fb52c74 /discord/activity.py
parent[commands] Export max_concurrency and MaxConcurrencyReached in docs (diff)
downloaddiscord.py-02397306b2ed76b3bc42b2b28e8672e839bdeaf5.tar.xz
discord.py-02397306b2ed76b3bc42b2b28e8672e839bdeaf5.zip
Drop superfluous zero in version related changes in the documentation
Diffstat (limited to 'discord/activity.py')
-rw-r--r--discord/activity.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/activity.py b/discord/activity.py
index 5a2c9047..01f23347 100644
--- a/discord/activity.py
+++ b/discord/activity.py
@@ -102,7 +102,7 @@ class BaseActivity:
what is currently set. This behaviour may change in the future so there are
no guarantees on whether Discord will actually let you set these types.
- .. versionadded:: 1.3.0
+ .. versionadded:: 1.3
"""
__slots__ = ('_created_at',)
@@ -113,7 +113,7 @@ class BaseActivity:
def created_at(self):
"""Optional[:class:`datetime.datetime`]: When the user started doing this activity in UTC.
- .. versionadded:: 1.3.0
+ .. versionadded:: 1.3
"""
if self._created_at is not None:
return datetime.datetime.utcfromtimestamp(self._created_at / 1000)
@@ -534,7 +534,7 @@ class Spotify:
def created_at(self):
"""Optional[:class:`datetime.datetime`]: When the user started listening in UTC.
- .. versionadded:: 1.3.0
+ .. versionadded:: 1.3
"""
if self._created_at is not None:
return datetime.datetime.utcfromtimestamp(self._created_at / 1000)
@@ -666,7 +666,7 @@ class CustomActivity(BaseActivity):
Returns the custom status text.
- .. versionadded:: 1.3.0
+ .. versionadded:: 1.3
Attributes
-----------