Closed Freelensia closed 5 years ago
We have configured CircleCI, Bitbucket to pour push notifications into a public channel. We can delete them manually below.
However, when running the code, these messages are excluded from the message view, hence they cannot be deleted.
Is is because these messages are not actually messages, and rather notifications? Therefore we need to replace the --message with something else?
Updated. This is solved. Actually messages coming from apps are considered "bot" and we had to use this code.
slack-cleaner --token xxx --message --channel bot-bitbucket --bot --rate 1
We have configured CircleCI, Bitbucket to pour push notifications into a public channel. We can delete them manually below.![image](https://user-images.githubusercontent.com/27481639/62369454-e0d0ae00-b559-11e9-983d-c17551a397ca.png)
However, when running the code, these messages are excluded from the message view, hence they cannot be deleted.![image](https://user-images.githubusercontent.com/27481639/62369520-15dd0080-b55a-11e9-9aa1-26f2cc374223.png)
Is is because these messages are not actually messages, and rather notifications? Therefore we need to replace the --message with something else?