Skip to content

Commit

Permalink
allow new and add to create stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmcbride committed Nov 7, 2009
1 parent 1579e37 commit 5a01609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trakbot.rb
Expand Up @@ -100,7 +100,7 @@ def initialize(options)
reply event, "Got it, #{nick}."
end,

%w[new (feature|chore|bug|release) (.+)].to_regexp =>
%w[(?:new|add) (feature|chore|bug|release) (.+)].to_regexp =>
lambda do |nick, event, match|
tracker = get_tracker nick, get_user_for_nick(nick)[:current_project]
story = tracker.create_story Story.new(:name => match[2], :story_type => match[1])
Expand Down

0 comments on commit 5a01609

Please sign in to comment.