discord-api-docs
                                
                                 discord-api-docs copied to clipboard
                                
                                    discord-api-docs copied to clipboard
                            
                            
                            
                        Document ban `delete_message_seconds` and remove `reason`
Updated banning docs:
- Added delete_message_seconds
- Marked delete_message_daysas deprecated
- Removed reason, which was removed in v10
reason is replaced with the X-Auditlog-Reason Header right?
reason is replaced with the X-Auditlog-Reason Header right?
As the v10 changelog says, yes
Does the new field accept an arbitrary number of seconds or is it a predefined list?
any number in the range
Testing this out, it seems to be overreaching. With 4 messages spaced out about 2 minutes each, a delete_message_seconds value of 60 deletes all 4. Tested in both v9 & v10, same results in both. Is this not fully ready yet, or is there some invisible rounding happening behind the scenes?