forked from HonusBot/HonusBot
This commit is contained in:
parent
96a79f7c25
commit
f68e0234a7
|
@ -138,7 +138,7 @@ class InlineBot:
|
||||||
self.commands.append(Command("Rasoio", "Dai facciamogli lo scherzo del rasoio!1!!", "genericurl", "htmlDescription"))
|
self.commands.append(Command("Rasoio", "Dai facciamogli lo scherzo del rasoio!1!!", "genericurl", "htmlDescription"))
|
||||||
self.cancerCommand = Command("Cancer", "Search cancer", "imageurl", "imageurl")
|
self.cancerCommand = Command("Cancer", "Search cancer", "imageurl", "imageurl")
|
||||||
|
|
||||||
def asResponse(dct):
|
def asResponse(self, dct):
|
||||||
print("LOG:::",str(dct))
|
print("LOG:::",str(dct))
|
||||||
if "imageUrl" in dct:
|
if "imageUrl" in dct:
|
||||||
return JSONResponse(dct["authorized"], dct["success"], dct["imageUrl"], "")
|
return JSONResponse(dct["authorized"], dct["success"], dct["imageUrl"], "")
|
||||||
|
|
Loading…
Reference in New Issue