Comments (4)
I usually get cant_delete_message
when my rate is too high, such that slack kicks me out. Does that happen for all messages or just for some?
from slack-cleaner.
sorry but it fails for even (--rate 1). I even tried my own user account and still failed.
$ ... --message --channel zc-alarm --user 'kenney.he' --before 20180122 --rate 1'
Running slack-cleaner v0.4.0
Deleting messages from channel zc-alarm
Will delete message -> kenney.he : <@U8EM71DM5> set the channel purpose: get status alarms
Will delete message -> kenney.he : <@U8EM71DM5> has joined the channel
Will delete message -> kenney.he : <@U8EM71DM5> has left the channel
Will delete message -> kenney.he : <@U8EM71DM5> has joined the channel
$ ... --perform
Running slack-cleaner v0.4.0
Deleting messages from channel zc-alarm
Failed to delete (cant_delete_message)->
{ u'purpose': u'get status alarms',
Failed to delete (cant_delete_message)->
Failed to delete (cant_delete_message)->
Failed to delete (cant_delete_message)->
0 message(s) cleaned.
u'subtype': u'channel_purpose',
u'text': u'<@U8EM71DM5> set the channel purpose: get status alarms',
u'ts': u'1516560401.000017',
u'type': u'message',
u'user': u'U8EM71DM5'}
{ u'subtype': u'channel_join',
u'text': u'<@U8EM71DM5> has joined the channel',
u'ts': u'1516554103.000022',
u'type': u'message',
u'user': u'U8EM71DM5'}
{ u'subtype': u'channel_leave',
u'text': u'<@U8EM71DM5> has left the channel',
u'ts': u'1513721307.000207',
u'type': u'message',
u'user': u'U8EM71DM5'}
{ u'subtype': u'channel_join',
u'text': u'<@U8EM71DM5> has joined the channel',
u'ts': u'1513709543.000039',
u'type': u'message',
u'user': u'U8EM71DM5'}
from slack-cleaner.
Even with super user and not having mail clark, code DOES NOT erase private channel..
public case works:
$ docker run sgratzl/slack-cleaner -c 'slack-cleaner --token <token> --message --channel public --user '*' --before 20180122 --rate 1'
Running slack-cleaner v0.4.0
Deleting messages from channel public
Will delete message -> captainamerica : Test
Will delete message -> captainamerica : <@U04SW899U> set the channel purpose: Test public
Will delete message -> captainamerica : <@U04SW899U> has joined the channel
3 message(s) will be cleaned.
Now you can re-run this program with `--perform` to actually perform the task.
failing for private channel cases even with superuser:
$ docker run sgratzl/slack-cleaner -c 'slack-cleaner --token <token> --message --channel zc-alarms --user '*' --before 20180122 --rate 1 --perform'
Running slack-cleaner v0.4.0
Channel, direct message or private group not found
$ docker run sgratzl/slack-cleaner -c 'slack-cleaner --token <token> --message --channel zc\-alarms --user '*' --before 20180122 --rate 1 --perform'
Running slack-cleaner v0.4.0
from slack-cleaner.
a private channel is called a group
please try --group ...
from slack-cleaner.
Related Issues (20)
- missing_argument error when trying to use provided example HOT 4
- slacker.Error: invalid_auth HOT 2
- how 'catch' "unknown error occurred" ? HOT 2
- Mac M1 Support HOT 3
- Enterprise Grid
- How to delete channels? HOT 1
- slacker.Error: thread_not_found HOT 1
- conversations.list limit 100 default issue HOT 2
- Does this script support Free and Enterprise Slack Orgs? HOT 1
- Can't delete messages HOT 8
- Can't see privat channels HOT 3
- Docker image returning error HOT 1
- Delete Slack channel HOT 1
- What OAuth scope/method is needed to be able to bulk delete messages HOT 1
- slacker.Error: invalid_auth HOT 1
- AttributeError: 'Slacker' object has no attribute 'conversations' HOT 1
- slacker.Error: invalid_auth HOT 8
- slacker.Error: method_deprecated HOT 4
- Does not delete Tombstoned files HOT 2
- Provide a slack app manifest.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-cleaner.