<commit_before>module R2Z2
  module DiscordCommands
    module AddStreamer
      extend Discordrb::Commands::CommandContainer
      command(:addstreamer, description: 'Adds a streamer', usage: 'addstreamer <username>', min_args: 1) do |event, name|
        if (name.is_a? String) and !(STREAM_DATA.stream_data[event.server.server]["streamers"].include? name)
          STREAMER.IDLookUp(name)
          STREAMER.AddStreamer(event.server.id)
          event << "I've added " + name.downcase + " to the list of streamers"
        else
          event << "Enter a valid username"
        end
      end
    end
  end
end
<commit_msg>Silly lance. event.server.server is for kids.<commit_after>module R2Z2
  module DiscordCommands
    module AddStreamer
      extend Discordrb::Commands::CommandContainer
      command(:addstreamer, description: 'Adds a streamer', usage: 'addstreamer <username>', min_args: 1) do |event, name|
        if (name.is_a? String) and !(STREAM_DATA.stream_data[event.server.id]["streamers"].include? name)
          STREAMER.IDLookUp(name)
          STREAMER.AddStreamer(event.server.id)
          event << "I've added " + name.downcase + " to the list of streamers"
        else
          event << "Enter a valid username"
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.104199066874028, 'fraction_numerical': 0.004665629860031105, 'mean_word_length': 2.923780487804878, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, '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': '2952517', 'n_tokens_mistral': 395, 'n_tokens_neox': 394, 'n_words': 103}