This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// To get stats on all channels, call: | |
// node ./delete-slack-messages.js | |
// To delete messages for a particular channel, get the Channel ID and pass as a param: | |
// node ./delete-slack-messages.js CHANNEL_ID | |
// Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/ | |
// CONFIGURATION ####################################################################################################### |