-
Notifications
You must be signed in to change notification settings - Fork 17
I would like to add bulkDelete but having problems figuring out how to get the right parameters #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I figured it out. It would be nice to see this as a regular feature! I'm not familiar enough with Github to do it properly.
|
In which scenarios would you use this feature? Do you have some in mind? |
We have a channel that we use for our church where we have announcements and requests Sun morning, Sun night and Wed that have to be deleted manually before every service. What would probably be better though is to only delete messages that aren't pinned, or maybe by date, so perhaps being able to retrieve all message id's might be a better place to start. Then they can be iterated through depending on certain criteria such as date or pin or from a particular user. |
do this always request? if yes i can add its but then withe msg. For how many you wane del. |
I would like to modify the deleteMessage routine to add bulkdelete but I'm not sure how to get the right parameter. I have seen messages.channel.bulkDelete(100) as an example,
The text was updated successfully, but these errors were encountered: