disabled many plugins
This commit is contained in:
parent
0ba2001b62
commit
7cce9bf27e
119 changed files with 0 additions and 20 deletions
11
disabled_stuff/shorten.py
Normal file
11
disabled_stuff/shorten.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from util import hook, http, web
|
||||
|
||||
|
||||
@hook.command
|
||||
def shorten(inp):
|
||||
"""shorten <url> - Makes an is.gd shortlink to the url provided."""
|
||||
|
||||
try:
|
||||
return web.isgd(inp)
|
||||
except (web.ShortenError, http.HTTPError) as error:
|
||||
return error
|
Reference in a new issue