mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Add default value to Guild.ban docs
This commit is contained in:
parent
8f19cfe729
commit
ba2ad58017
@ -3415,11 +3415,15 @@ class Guild(Hashable):
|
|||||||
delete_message_days: :class:`int`
|
delete_message_days: :class:`int`
|
||||||
The number of days worth of messages to delete from the user
|
The number of days worth of messages to delete from the user
|
||||||
in the guild. The minimum is 0 and the maximum is 7.
|
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
|
.. 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
|
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).
|
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
|
.. versionadded:: 2.1
|
||||||
reason: Optional[:class:`str`]
|
reason: Optional[:class:`str`]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user