<commit_before># Nxt Tipbot
An NXT tip bot for slack API.  
Written in .NET, with support for [.NET Standard 1.0](https://docs.microsoft.com/en-us/dotnet/articles/standard/library), making it cross platform (win, linux, os x).

# Features
* Make public tips in slack channels with NXT or MS Currencies
* See your own balance/deposit/withdraw in direct messages with the bot
* Help command

# How to install and run?
1. Install [.NET Core](https://www.microsoft.com/net/core) for your platform.
2. Download latest code of NxtTipbot
3. Edit the config.json file in the src\NxtTipbot directory and set:
  * apitoken - Slack api token key.
  * walletFile - Path to where your Sqlite database file should be stored.
  * nxtServerAddress - The server address to the NXT server you wish to use.
4. In the the src\NxtTipbot directory, type 'dotnet restore' and then 'dotnet run'
5. Done!

# Todo
* Support sending Assets.
* Add support for more units (USD, EUR, beer, etc.).
* Add file logging (NLog).
* Use AES 256 encryption for secret phrases.  
  Decryption key to be stored in config file/passed as parameter/read from environment variable.
* Add new command 'initiate' where a public key is provided to initiate a new NXT address.
* Support for multiple slack teams.<commit_msg>minor<commit_after># Nxt Tipbot
An NXT tip bot for slack API.  
Written in .NET Core, with support for [.NET Standard 1.0](https://docs.microsoft.com/en-us/dotnet/articles/standard/library), making it cross platform (win, linux, os x).
[.NET Core](https://www.microsoft.com/net/core/platform) is an open source platform development platform from Microsoft.

# Features
* Make public tips in slack channels with NXT or MS Currencies
* See your own balance/deposit/withdraw in direct messages with the bot
* Help command

# How to install and run?
1. Install [.NET Core](https://www.microsoft.com/net/core) for your platform.
2. Download latest code of NxtTipbot
3. Edit the config.json file in the src\NxtTipbot directory and set:
  * apitoken - Slack api token key.
  * walletFile - Path to where your Sqlite database file should be stored.
  * nxtServerAddress - The server address to the NXT server you wish to use.
4. In the the src\NxtTipbot directory, type 'dotnet restore' and then 'dotnet run'
5. Done!

# Todo
* Support sending Assets.
* Add support for more units (USD, EUR, beer, etc.).
* Add file logging (NLog).
* Use AES 256 encryption for secret phrases.  
  Decryption key to be stored in config file/passed as parameter/read from environment variable.
* Add new command 'initiate' where a public key is provided to initiate a new NXT address.
* Support for multiple slack teams.
{'fraction_non_alphanumeric': 0.08089887640449438, 'fraction_numerical': 0.00749063670411985, 'mean_word_length': 3.891941391941392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028525', 'n_tokens_mistral': 803, 'n_tokens_neox': 760, 'n_words': 373}