Skip to content

Releases: sgratzl/slack_cleaner2

Better Scope Handling

07 May 12:20
Compare
Choose a tag to compare
  • 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

Delete Message Files and Replies

30 Apr 09:01
Compare
Choose a tag to compare
  • 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:

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

Message Replies

29 Apr 18:16
Compare
Choose a tag to compare

fixes #17 and #7 for a better support of message replies.

Upgrade

14 Nov 02:45
Compare
Choose a tag to compare

Upgraded to python 3.7 with mypy typings.