disabled many plugins
This commit is contained in:
parent
0ba2001b62
commit
7cce9bf27e
119 changed files with 0 additions and 20 deletions
18
disabled_stuff/qrcode.py
Normal file
18
disabled_stuff/qrcode.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Plugin by https://github.com/Mu5tank05
|
||||
from util import hook, web, http
|
||||
|
||||
|
||||
@hook.command('qr')
|
||||
@hook.command
|
||||
def qrcode(inp):
|
||||
"""qrcode [link] returns a link for a QR code."""
|
||||
|
||||
args = {
|
||||
"cht": "qr", # chart type (QR)
|
||||
"chs": "200x200", # dimensions
|
||||
"chl": inp # data
|
||||
}
|
||||
|
||||
link = http.prepare_url("http://chart.googleapis.com/chart", args)
|
||||
|
||||
return web.try_isgd(link)
|
Reference in a new issue