Added morehelp to googlelicensekey

This commit is contained in:
Jeremy Fincher 2003-04-08 19:19:21 +00:00
parent 1113173077
commit e5a6f83aed
1 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,7 @@ Commands include:
googlebsd
googlemac
googlespell
googlelicensekey
"""
from baseplugin import *
@ -90,7 +91,11 @@ class Google(callbacks.Privmsg):
return '%s %s' % (' ;; '.join(results), time)
def googlelicensekey(self, irc, msg, args):
"""<key>"""
"""<key>
Sets the Google license key for using Google's Web Services API. This
is necessary before you can do any searching with this module.
"""
key = privmsgs.getArgs(args)
google.setLicense(key)
irc.reply(msg, conf.replySuccess)