Skip to content
/ sweep Public

Sweep personal messages from Slack DMs (including deactivated), groups, and channels

Notifications You must be signed in to change notification settings

lepisma/sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sweep

https://img.shields.io/github/v/tag/lepisma/sweep.svg https://img.shields.io/github/actions/workflow/status/lepisma/sweep/rust.yml.svg

Sweep personal messages from Slack DMs (including deactivated), groups, and channels. I am using this repository to learn Rust so the code will be in a bad state.

To use, you will need to create a Slack app with the following permissions on a user key:

  • channels:history
  • groups:history
  • im:history
  • mpim:history
  • chat:write
  • chat:write:user
  • chat:write:bot

Then do the following:

# User ID is to filter your messages. Conversation ID is the ID of the DM,
# group, or channel to clean up.
sweep <USER-ID> <CONVERSATION-ID>

As of now Slack’s API have time based rate limits of a form where concurrent requests don’t help, so sweep does sequential deletions.

About

Sweep personal messages from Slack DMs (including deactivated), groups, and channels

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages