<commit_before># slackbots

# Bots

Bot's are kept running using *forever*. *forever* can be installed using `npm install forever -g`
Important variables are kept in a `.env` file at the base of the project. Setting up this file goes like this:

- `cd /path/to/slackbots/`
- `touch .env && nano .env`
- Some common variables:
    - SLACK_TOKEN=xxxxx
    - SLACK_BOT_TOKEN=xxxxx
    - SLACK_CLIENT_ID=xxxxx
    - SLACK_CLIENT_SECRET=xxxxx
    - SLACK_WEBHOOK_URL=xxxxx

Below is a list of all of the bots in the project

### Return Logs

`cd /path/to/slackbots/ && forever start return_logs/index.js`

Permissions needed:

- bot
- incoming-webhook<commit_msg>Making environment varaibles easier to copy<commit_after># slackbots

# Bots

Bot's are kept running using *forever*. *forever* can be installed using `npm install forever -g`
Important variables are kept in a `.env` file at the base of the project. Setting up this file goes like this:

- `cd /path/to/slackbots/`
- `touch .env && nano .env`
- Some common variables:
    ```
    SLACK_TOKEN=xxxxx
    SLACK_BOT_TOKEN=xxxxx
    SLACK_CLIENT_ID=xxxxx
    SLACK_CLIENT_SECRET=xxxxx
    SLACK_WEBHOOK_URL=xxxxx
    ```

Below is a list of all of the bots in the project

### Return Logs

`cd /path/to/slackbots/ && forever start return_logs/index.js`

Permissions needed:

- bot
- incoming-webhook
{'fraction_non_alphanumeric': 0.09245562130177515, 'fraction_numerical': 0.0, 'mean_word_length': 3.6020408163265305, 'pattern_counts': {'":': 0, '<': 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': '4371628', 'n_tokens_mistral': 480, 'n_tokens_neox': 475, 'n_words': 156}