mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Added morehelp to googlelicensekey
This commit is contained in:
parent
1113173077
commit
e5a6f83aed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user