aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack1142 <[email protected]>2020-05-07 00:19:03 +0200
committerRapptz <[email protected]>2020-05-07 02:30:24 -0400
commitfbb7add01a0c6155f3d0625974cb3c4071d9c1b0 (patch)
treee2f8b186d54f0379d37f0784c7c9757c6e34abc4
parentEscape backslashes in display name in `clean_prefix` (diff)
downloaddiscord.py-fbb7add01a0c6155f3d0625974cb3c4071d9c1b0.tar.xz
discord.py-fbb7add01a0c6155f3d0625974cb3c4071d9c1b0.zip
Specify the unit for `max_age` arg in `GuildChannel.create_invite()`
-rw-r--r--discord/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py
index c8b9f598..7e1bc122 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -689,7 +689,7 @@ class GuildChannel:
Parameters
------------
max_age: :class:`int`
- How long the invite should last. If it's 0 then the invite
+ How long the invite should last in seconds. If it's 0 then the invite
doesn't expire. Defaults to 0.
max_uses: :class:`int`
How many uses the invite could be used for. If it's 0 then there