<commit_before>require 'ruby_reddit_api'

class RedditPlugin < Rubotic::Plugin
  describe "Returns results from reddit"

  command '!aww' do
    describe  "returns a random cute picture."
    arguments 0..0

    run do |event|
      item = @client.browse('aww').sample
      respond_to(event, item.url)
    end
  end

  def initialize(bot)
    @bot = bot
    @client = Reddit::Api.new
  end
end<commit_msg>describe aww command more thoroughly<commit_after>require 'ruby_reddit_api'

class RedditPlugin < Rubotic::Plugin
  describe "Returns results from reddit"

  command '!aww' do
    describe  "returns a random cute picture from the front page of r/aww."

    run do |event|
      item = @client.browse('aww').sample
      respond_to(event, item.url)
    end
  end

  def initialize(bot)
    @bot = bot
    @client = Reddit::Api.new
  end
end
{'fraction_non_alphanumeric': 0.09585798816568047, 'fraction_numerical': 0.002366863905325444, 'mean_word_length': 3.1881188118811883, 'pattern_counts': {'":': 0, '<': 5, '<?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': '196892', 'n_tokens_mistral': 277, 'n_tokens_neox': 268, 'n_words': 83}