lib/ruboty/trello.rb in ruboty-trello-0.1.0 vs lib/ruboty/trello.rb in ruboty-trello-0.1.1

- old
+ new

@@ -6,10 +6,10 @@ end module Ruboty module Handlers class Trello < Base - on /:trello :b (?<board_name>.*) :l (?<list_name>.*) (?<name>.*)\z/i, name: 'trello', description: 'Add card to Trello' + on /:trello b (?<board_name>.*) l (?<list_name>.*) (?<name>.*)\z/i, name: 'trello', description: 'Add card to Trello' def trello(message) me = ::Trello::Member.find('me') board = me.boards.find { |board| board.name == message[:board_name] }