Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 418 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 418 Bytes

Repo to contain any utils that may be used in different projects of Naveler.

Sample usage of the Slack module slackutils.slack to remove messages:

from naveutils.slack import Slack

token = 'xoxp-...'  # to get from https://api.slack.com/custom-integrations/legacy-tokens
rules = [
    {'channel': '#gitlab', 'days': '5'},
    {'channel': '#trello', 'days': '15'}
]

Slack.delete_messages(token, rules)