Support d->m bulk delete messages #15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is a gateway event for bulk delete messages which includes the message IDs that were deleted. Only bots can use this endpoint. OOYE should act on it like any other message deletion.
Additionally, when banning members, there is a delete_message_seconds parameter which can delete some message history for that user. However, I can't find where the field is in the incoming gateway event to know how many messages were deleted. I will have to investigate this further or maybe check the audit log.
Should be supported in
20bab453ef
but I didn't test it fully.I couldn't find anything on the internet or in the docs about how the API informs bots of deleted messages after a ban.
Tested that it works successfully to clean up messages when banning a user. Must be a separate packet.