Skip to content

Commit

Permalink
Added additional details to bulk delete documentation (#54)
Browse files Browse the repository at this point in the history
It's important to note that there is a minimum of 2 messages per request.
  • Loading branch information
freyacodes authored and jhgg committed May 12, 2016
1 parent bc63968 commit f8a9afb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/resources/CHANNEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ Delete a message. If operating on a guild channel and trying to delete a message
Delete multiple messages in a single request. This endpoint can only be used on guild channels and requires the 'MANAGE_MESSAGES' permission. Returns a 204 empty response on success. Fires multiple [Message Delete](#DOCS_GATEWAY/message-delete) Gateway events.

>warn
> This endpoint has a rate limit of 1 request per second per guild, and is limited to 100 messages per request. Only bot accounts can use this endpoint.
> This endpoint has a rate limit of 1 request per second per guild, and is limited to 100 messages per request. The request will fail if less than two snowflakes are provided. Only bot accounts can use this endpoint.
The gateway will ignore any individual messages that do not exist or do not belong to this channel, but these will count towards the minimum and maximum message count. Duplicate snowflakes will only be counted once for these limits.

###### JSON Params

Expand Down

0 comments on commit f8a9afb

Please sign in to comment.