Untiny: Add help for @untiny.
parent
96b450fd6b
commit
01151d861c
|
@ -46,6 +46,9 @@ class Untiny(callbacks.Plugin):
|
|||
This should describe *how* to use this plugin."""
|
||||
@internationalizeDocstring
|
||||
def untiny(self, irc, msg, args, url):
|
||||
"""<url>
|
||||
|
||||
Return the whole URL for a tiny URL."""
|
||||
data = json.load(getUrlFd(self.registryValue('service') % url))
|
||||
if 'org_url' in data:
|
||||
irc.reply(data['org_url'])
|
||||
|
|
Loading…
Reference in New Issue