Skip to content

Commit

Permalink
Typo!
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Jan 18, 2016
1 parent 111b0e4 commit 4d1d9e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lita/handlers/onewheel_giphy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OnewheelGiphy < Handler

route /^giphy$/, :random, command: true, help: {'giphy' => 'Returns a random Giphy image. Powered by Giphy! http://giphy.com'}
route /^giphy\s+(.*)$/, :search, command: true, help: {'giphy [keyword]' => 'Returns a random Giphy image with the specified keyword applied.'}
route /^giphytrending$/, :trending, command: true, help: {'giphytranding' => 'Returns a trending Giphy image.'}
route /^giphytrending$/, :trending, command: true, help: {'giphytrending' => 'Returns a trending Giphy image.'}

def search(response)
keywords = response.matches[0][0]
Expand Down
2 changes: 1 addition & 1 deletion lita-onewheel-giphy.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-giphy'
spec.version = '0.2.1'
spec.version = '0.2.2'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = 'Lita chat interface to giphy api for MOAR GIFS'
Expand Down

0 comments on commit 4d1d9e6

Please sign in to comment.