![]() You grant these by registering it as an app in the The slack cleaner needs you to give Slack's API permission to let it run the Migration Guides form slack-cleaner contains a series of common pattern in slack cleaner and their counterpart in Slack Cleaner2 Token ![]() delete ( replies = True, files = True ) # delete all general messages and also iterate over all replies for msg in s. conversations )): # delete messages, its files, and all its replies (thread) msg. conversations # delete all messages in -bots channels for msg in s. ![]() In contrast to the original version ( ) this version is a focusing on pure python package that allows for easy scripting instead of a vast amount of different command line arguments.īasic usage from slack_cleaner2 import * s = SlackCleaner ( 'SECRET TOKEN' ) # list of users s. Latest version pip install -e git+ =slack_cleaner2 Install from PyPi: pip install slack-cleaner2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |