Skip to content

andupotorac/slack-delete-all-messages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Selenium: Delete all messages in #general

deleteslack

Problem

May I delete entirely purge messages in #general channel?

  • The answer is NO. ಠ_ಠ

Below is the response from slack support team: (2014/12/19):

You can bulk delete messages in batches of up 100 at a time from the archives page for a channel or group: https://my.slack.com/archives — the first time you use delete you'll be able to select up to 10 messages, but on subsequent attempts you'll be able to select up to 100.

Solution

Prerequisite

Start

  • Open https://my.slack.com/archives/general via Firefox
  • Open Selenium IDE
    • Setup Selenium Core Extenstion in options->general choose sideflow.js and restart Selenium IDE.
    • Open Test(script) ctrl-o select deleteslacklog.html you have downloaded.
  • Click the play button and take a coffee ☕

🎉~ Now you have a whole new #general channel!

License

MIT: http://yulun.mit-license.org

About

I want a clean #general channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%