<commit_before>#!/usr/bin/env python
import logging
import os
from slackclient import SlackClient

logging.basicConfig(level=logging.DEBUG)
LOG = logging.getLogger(__name__)

BOT_NAME = "wos"

slack_client = SlackClient(os.environ.get('SLACK_BOT_TOKEN'))

if __name__ == "__main__":
    api_call = slack_client.api_call("users.list")
    if api_call.get('ok'):
        # retrieve all users so we can find our bot
        users = api_call.get('members')
        for user in users:
            if 'name' in user and user.get('name') == BOT_NAME:
                LOG.debug("Bot ID for '" + user['name'] + "' is " + user.get('id'))
    else:
        LOG.warning("could not find bot user with the name " + BOT_NAME)<commit_msg>Update print_bot_id.py<commit_after>#!/usr/bin/env python
import logging
import os
from slackclient import SlackClient

logging.basicConfig(level=logging.DEBUG)
LOG = logging.getLogger(__name__)

BOT_NAME = "wos"

slack_client = SlackClient(os.environ.get('SLACK_BOT_TOKEN'))

if __name__ == "__main__":
    api_call = slack_client.api_call("users.list")
    if api_call.get('ok'):
        # retrieve all users so we can find our bot
        users = api_call.get('members')
        for user in users:
            if 'name' in user and user.get('name') == BOT_NAME:
                LOG.debug("Bot ID for " + user['name'] + " is " + user['id'])
    else:
        LOG.warning("could not find bot user with the name " + BOT_NAME)
{'fraction_non_alphanumeric': 0.1271596406357982, 'fraction_numerical': 0.0, 'mean_word_length': 3.2588235294117647, 'pattern_counts': {'":': 2, '<': 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': '6235964', 'n_tokens_mistral': 478, 'n_tokens_neox': 474, 'n_words': 124}