<commit_before>local simplehttp = require'simplehttp'
local json = require'json'

local APIBase = 'https://blockchain.info/no/ticker'
return {
	PRIVMSG = {
		['^.btc$'] = function(self, source, destination, input)
			simplehttp(APIBase, function(data)
					local result = json.decode(data)

					if(result) then
						self:Msg('privmsg', destination, source, string.format('\0021\002 BTC is worth %s € (~15m)', result["EUR"]["15m"]))
					end
				end
			)
		end,
	},
}<commit_msg>btc: Boldify btc aswell<commit_after>local simplehttp = require'simplehttp'
local json = require'json'

local APIBase = 'https://blockchain.info/no/ticker'
return {
	PRIVMSG = {
		['^.btc$'] = function(self, source, destination, input)
			simplehttp(APIBase, function(data)
					local result = json.decode(data)

					if(result) then
						self:Msg('privmsg', destination, source, string.format('\0021\002 BTC is worth \002%s\002 € (~15m)', result["EUR"]["15m"]))
					end
				end
			)
		end,
	},
}
{'fraction_non_alphanumeric': 0.16257668711656442, 'fraction_numerical': 0.028629856850715747, 'mean_word_length': 3.9444444444444446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3342386', 'n_tokens_mistral': 410, 'n_tokens_neox': 343, 'n_words': 77}