Skip to content

Commit

Permalink
Fixed help text.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Jul 9, 2016
1 parent 22c14a0 commit d40c8d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions lib/lita/handlers/onewheel_beer_tin_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,32 @@ class OnewheelBeerTinBucket < OnewheelBeerBase
route /^tinbucket$/i,
:taps_list,
command: true,
help: {'taps' => 'Display the current Tin Bucket taps.'}
help: {'tinbucket' => 'Display the current Tin Bucket taps.'}

route /^tinbucket ([\w ]+)$/i,
:taps_deets,
command: true,
help: {'taps 4' => 'Display the tap 4 deets, including prices.'}
help: {'tinbucket 4' => 'Display the tap 4 deets, including prices.'}

route /^tinbucket ([<>=\w.\s]+)%$/i,
:taps_by_abv,
command: true,
help: {'taps >4%' => 'Display beers over 4% ABV.'}
help: {'tinbucket >4%' => 'Display beers over 4% ABV.'}

route /^tinbucket (roulette|random|rand|ran|ra|r)$/i,
:taps_by_random,
command: true,
help: {'taps roulette' => 'Can\'t decide? Let me do it for you!'}
help: {'tinbucket roulette' => 'Can\'t decide? Let me do it for you!'}

route /^tinbucketabvlow$/i,
:taps_low_abv,
command: true,
help: {'tapslow' => 'Show me the lowest abv keg.'}
help: {'tinbucketabvlow' => 'Show me the lowest abv keg.'}

route /^tinbucketabvhigh$/i,
:taps_high_abv,
command: true,
help: {'tapslow' => 'Show me the highest abv keg.'}
help: {'tinbucketabvhigh' => 'Show me the highest abv keg.'}

def send_response(tap, datum, response)
reply = "Tin Bucket tap #{tap}) #{get_tap_type_text(datum[:type])}"
Expand Down
2 changes: 1 addition & 1 deletion lita-onewheel-beer-tin-bucket.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-beer-tin-bucket'
spec.version = '0.1.1'
spec.version = '0.1.2'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = %q{Lita interface to Tin Bucket's listings.}
Expand Down

0 comments on commit d40c8d6

Please sign in to comment.