Skip to content

Commit

Permalink
Document ban delete_message_seconds and remove reason (#5219)
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 authored Aug 29, 2022
1 parent 01a1567 commit 7e3e3a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/resources/Guild.md
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,10 @@ Create a guild ban, and optionally delete previous messages sent by the banned u
###### JSON Params

| Field | Type | Description | Default |
| -------------------- | ------- | ------------------------------------------- | ------- |
| delete_message_days? | integer | number of days to delete messages for (0-7) | 0 |
| reason? | string | reason for the ban (deprecated) | |
| Field | Type | Description | Default |
| ----------------------- | ------- | ----------------------------------------------------------------------- | ------- |
| delete_message_days? | integer | number of days to delete messages for (0-7) (deprecated) | 0 |
| delete_message_seconds? | integer | number of seconds to delete messages for, between 0 and 604800 (7 days) | 0 |

## Remove Guild Ban % DELETE /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/bans/{user.id#DOCS_RESOURCES_USER/user-object}

Expand Down

0 comments on commit 7e3e3a3

Please sign in to comment.