Skip to content

Commit

Permalink
Adding help text.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Mar 1, 2016
1 parent 89d02c0 commit 6b93b7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/lita/handlers/onewheel_halfstaff.rb
Expand Up @@ -6,11 +6,13 @@ module Handlers
class OnewheelHalfstaff < Handler
route /^half(staff|mast)$/,
:get_flag_status,
command: true
command: true,
help: {'halfstaff' => 'Get any current half staff information from flagsexpress.com.'}

route /^half(staff|mast) history$/,
:get_history,
command: true
command: true,
help: {'halfstaff history' => 'Get the wikipedia history of lowering the flag to half staff(mast).'}

def get_flag_status(response)
flag_data = get_flag_data
Expand Down
2 changes: 1 addition & 1 deletion lita-onewheel-halfstaff.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-halfstaff'
spec.version = '0.1.0'
spec.version = '0.1.1'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = %q{View the current US flag half-staff status.}
Expand Down

0 comments on commit 6b93b7c

Please sign in to comment.