This project helps to you delete whole slack messages that you selected channel automatically
Firstly you should goto the Settings & Administration > Workspace settings
in your slack app.
Also you can ses all details in here
in the route directory, you just need to run the following commands and that's it!
yarn //to setup slack api package
node app.js // you should see 'Getting started to clear your slack messages' message