diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-27 18:53:48 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-27 18:53:48 -0800 |
| commit | 92c91b81490b621de4519e0d87830dbce53dd689 (patch) | |
| tree | d8d601c5d788ae01e6c34b000e32ce57e970f884 /examples/05_command_framework/src | |
| parent | Add `Message::member` (diff) | |
| download | serenity-92c91b81490b621de4519e0d87830dbce53dd689.tar.xz serenity-92c91b81490b621de4519e0d87830dbce53dd689.zip | |
Check message ID count in `delete_messages`
In models' `delete_messages` methods, check the number of messages being
deleted. If 0 or more than 100, return a `ModelError::BulkDeleteAmount`,
as this amount would result in an invalid request.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions