Tidy up Slack (in General)

Salman, Aled and I have been busy setting up a new technology community, Cloud Native Wales. We’re looking to go live and invite people to use some of our tools, but realise that we’ve been using the #general a bit too much and want to remove some of the rubbish prior to going live.

Since then, we’ve found out that #general is a privileged channel, and it’s difficult to bulk delete all the messages. Luckily, we found a way to fix it!



Delete Messages

  1. Update delete-channel-messages.js with your Token and Channel Id.
  2. Start the script:
sh node delete-channel-messages.js
1528955344.000153 deleted!