Skip to content

djcas9/rmslack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmslack

Build Status

Remove all messages from a given slack channel. Stupid little app but helpful.

Why

slack does not support the option to delete all messages from a channel. You could email them and ask but who has time for that crap.

Usage

rmslack --token <TOKEN-HERE>

Here is some example output.

INFO[0000] Initializing rmslack Version: 0.1.0.
INFO[0000] Fetching channel list.

[0] blahblah (C0352348H)
[1] word (C035456465FF)
[2] foo (C03451J5)
[3] bar (C03234U4)
[4] random (C035428K)

Which channel would you like to purge messages from?
4
INFO[0013] Fetching history for channel: random
INFO[0014] Removing Next Message Batch. Size: 100
INFO[0017] Removing Next Message Batch. Size: 81
INFO[0019] All Done!