Skip to content

Commit

Permalink
[lmgfty]Let me google that for you. Initiat commit
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitri Molenaars <Tyrope@TyRope.nl>
  • Loading branch information
tyrope committed Apr 8, 2013
1 parent 64954f7 commit 9013b8d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lmgtfy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""
lmgtfy.py - Willie Let me Google that for you module
Copyright 2013, Dimitri Molenaars http://tyrope.nl/
Licensed under the Eiffel Forum License 2.
http://willie.dftba.net/
"""

def issue(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'

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

0 comments on commit 9013b8d

Please sign in to comment.