Slack-cleaner2

Latest version: v3.2.7

Safety actively analyzes 638730 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

3.0.1

fixes 41 by adding the missing `requests` dependency

3.0.0

migrate to https://github.com/slackapi/python-slack-sdk (see #38)

2.4.3

2.4.1

* implements a proper pagination for listing messages, channels, replies, and files

2.3.0

* refactored and cleaned up the required scopes
* migrated documentation to custom slack app only
* add error messages with required scope hints
* make `as_user=True` default to avoid invalid argument error

2.2.0

* add a new `.files` field to `SlackMessage` containing all the files attached to the message
* add new options to `SlackMessage.delete` `files=True` will also delete attached files, `replies=True` does the same thing for the replies aka. thread.

Thus, deleting everything possible should be reduced to:

py
s = SlackCleaner2(TOKEN)
for msg in s.msgs():
msg.delete(files=True, replies=True)

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.