<commit_before>#!/usr/bin/env python3
# encoding: utf-8

from . import bot

from configparser import ConfigParser
from appdirs import AppDirs
import os.path

import sys


def main():
	
	dirs = AppDirs('reactor-bot', 'bmintz')
	config = ConfigParser()
	config.read(os.path.join(dirs.user_config_dir, 'reactor-bot.ini'))
	
	bot.discordpw_api_token = config['bots.discord.pw']['api_token']
	bot.run(config['discord']['api_token'])
	
	return 0


sys.exit(main())<commit_msg>__main__.py: don't pre-configure stats api tokens<commit_after>#!/usr/bin/env python3
# encoding: utf-8

from . import bot

from configparser import ConfigParser
from appdirs import AppDirs
import os.path

import sys


def main():

	dirs = AppDirs('reactor-bot', 'bmintz')
	config = ConfigParser()
	config.read(os.path.join(dirs.user_config_dir, 'reactor-bot.ini'))

	bot.config = config
	bot.run(config['discord']['api-token'])

	return 0


sys.exit(main())
{'fraction_non_alphanumeric': 0.14331896551724138, 'fraction_numerical': 0.00646551724137931, 'mean_word_length': 5.032467532467533, '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': '2096666', 'n_tokens_mistral': 350, 'n_tokens_neox': 331, 'n_words': 72}