Skip to content
Browse files

Make Vincent happy ;)

  • Loading branch information...
1 parent 5caec92 commit 4903a3d97664304b191a70e046851f7ada4d465b @alloy alloy committed Dec 4, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/macruby_bugmash_bot.rb
View
10 lib/macruby_bugmash_bot.rb
@@ -37,23 +37,23 @@
m.reply @trac.ticket_info(id, m.user.nick)
end
- on :channel, /^!work (\d+)/ do |m, id|
+ on :channel, /^!work #?(\d+)/ do |m, id|
m.reply @trac.assign_ticket(id, m.user.nick)
end
- on :channel, /^!stop (\d+)/ do |m, id|
+ on :channel, /^!stop #?(\d+)/ do |m, id|
m.reply @trac.resign_from_ticket(id, m.user.nick)
end
- on :channel, /^!status (\d+)/ do |m, id|
+ on :channel, /^!status #?(\d+)/ do |m, id|
m.reply @trac.ticket_status(id, m.user.nick)
end
- on :channel, /^!review (\d+)/ do |m, id|
+ on :channel, /^!review #?(\d+)/ do |m, id|
m.reply @trac.mark_for_review(id, m.user.nick)
end
- on :channel, /^!unreview (\d+)/ do |m, id|
+ on :channel, /^!unreview #?(\d+)/ do |m, id|
m.reply @trac.unmark_for_review(id, m.user.nick)
end

0 comments on commit 4903a3d

Please sign in to comment.
Something went wrong with that request. Please try again.