lib/elephrame/streaming/command.rb
def add_command cmd, &block
      @commands.append cmd unless @commands.include? cmd
      @cmd_hash[cmd.to_sym] = block

      # build up our regex (this regex should be fine, i guess :shrug:)
      @cmd_regex = /\A#{@prefix}(?<cmd>#{@commands.join('|')})\b(?<data>.*)/m
    end
def add_command cmd, &block
      @commands.append cmd unless @commands.include? cmd
      @cmd_hash[cmd.to_sym] = block

      # build up our regex (this regex should be fine, i guess :shrug:)
      @cmd_regex = /\A#{@prefix}(?<cmd>#{@commands.join('|')})\b(?<data>.*)/m
    end
Adds the command and block into the bot to process later
 also sets up the command regex

 @param cmd [String] a command to add
 @param block [Proc] the code to execute when +cmd+ is recieved