<commit_before>
module.exports = (robot) ->
        robot.respond /educast (.*)/i, (res) ->
                res.send "https://beta.educast.pro/search/?q=#{res.match[1]}"<commit_msg>Add usage. Fix command. encode uri<commit_after># Description:
#   Search from to educast
#
# Dependencies:
#   None
#
# Configuration:
#   None
#
# Commands:
#   hubot educast <keyword> - Search from educast

module.exports = (robot) ->
        robot.respond /educast\s+(.*)/i, (res) ->
                keyword = encodeURIComponent(res.match[1])
                res.send "https://beta.educast.pro/search/?q=#{keyword}"
{'fraction_non_alphanumeric': 0.17166666666666666, 'fraction_numerical': 0.0033333333333333335, 'mean_word_length': 2.6646341463414633, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '476916', 'n_tokens_mistral': 206, 'n_tokens_neox': 201, 'n_words': 39}