Browse Source

Add default value to Guild.ban docs

pull/8993/head
Willy 3 years ago
committed by GitHub
parent
commit
ba2ad58017
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      discord/guild.py

6
discord/guild.py

@ -3415,11 +3415,15 @@ class Guild(Hashable):
delete_message_days: :class:`int`
The number of days worth of messages to delete from the user
in the guild. The minimum is 0 and the maximum is 7.
Defaults to 1 day if neither ``delete_message_days`` nor
``delete_message_seconds`` are passed.
.. deprecated:: 2.1
delete_message_seconds: :class:`int`:
delete_message_seconds: :class:`int`
The number of seconds worth of messages to delete from the user
in the guild. The minimum is 0 and the maximum is 604800 (7 days).
Defaults to 1 day if neither ``delete_message_days`` nor
``delete_message_seconds`` are passed.
.. versionadded:: 2.1
reason: Optional[:class:`str`]

Loading…
Cancel
Save