<commit_before>#! /usr/bin/env python

import slackbot
import destalinator

sb = slackbot.Slackbot("rands-leadership", slackbot_token_file="sb_token.txt")
ds = destalinator.Destalinator("rands-leadership", slackbot=sb, api_token_file="api_token.txt")
ds.warn_all(30)
ds.safe_archive_all(60)<commit_msg>use code from warn.py and archive.py<commit_after>#! /usr/bin/env python

import warn
import archive

if __name__ == "__main__":
    warn.warn()
    archive.archive()
{'fraction_non_alphanumeric': 0.13034188034188035, 'fraction_numerical': 0.008547008547008548, 'mean_word_length': 6.2153846153846155, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5406769', 'n_tokens_mistral': 176, 'n_tokens_neox': 167, 'n_words': 32}