Support d->m bulk delete messages #15

Closed
opened 2023-10-24 18:58:11 +00:00 by cadence · 2 comments
Owner

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.

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.
Author
Owner

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.

Should be supported in 20bab453ef7a2eb46087745a66b45f61794359ed 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.
Author
Owner

Tested that it works successfully to clean up messages when banning a user. Must be a separate packet.

Tested that it works successfully to clean up messages when banning a user. Must be a separate packet.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cadence/out-of-your-element#15
No description provided.