Skip to content

Commit

Permalink
[lmgtfy]Rename def (CC #258)
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitri Molenaars <[email protected]>
  • Loading branch information
tyrope committed May 19, 2013
1 parent ecbd20a commit b771610
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions willie/modules/lmgtfy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
http://willie.dftba.net/
"""

def issue(willie, trigger):
def googleit(willie, trigger):
"""Let me just... google that for you."""
#No input
if not trigger.group(2):
return willie.say('http://google.com/')
willie.say('http://lmgtfy.com/?q='+trigger.group(2).replace(' ','+'))
issue.commands = ['lmgtfy','lmgify','gify','gtfy']
issue.priority = 'medium'
googleit.commands = ['lmgtfy','lmgify','gify','gtfy']
googleit.priority = 'medium'

if __name__ == '__main__':
print __doc__.strip()
Expand Down

0 comments on commit b771610

Please sign in to comment.