mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Removed pydoclink (whose idea was it to add that useless command anyways?) /me
hides
This commit is contained in:
parent
b6dd266549
commit
23d81ec0cd
@ -166,15 +166,6 @@ class Python(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
|
|||||||
else:
|
else:
|
||||||
irc.error(msg, 'No function or module %s exists.' % name)
|
irc.error(msg, 'No function or module %s exists.' % name)
|
||||||
|
|
||||||
def pydoclink(self, irc, msg, args):
|
|
||||||
"""<python module>
|
|
||||||
|
|
||||||
Returns a link to the current documentation for <python module>
|
|
||||||
"""
|
|
||||||
module = privmsgs.getArgs(args)
|
|
||||||
url = 'http://python.org/doc/current/lib/module-%s.html' % module
|
|
||||||
irc.reply(msg, '%s' % url)
|
|
||||||
|
|
||||||
_these = [str(s) for s in this.s.decode('rot13').splitlines() if s]
|
_these = [str(s) for s in this.s.decode('rot13').splitlines() if s]
|
||||||
_these.pop(0) # Initial line (The Zen of Python...)
|
_these.pop(0) # Initial line (The Zen of Python...)
|
||||||
def zen(self, irc, msg, args):
|
def zen(self, irc, msg, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user