This commit is contained in:
Christian Rendina 2020-05-05 16:47:48 +02:00
parent 96a79f7c25
commit f68e0234a7

View File

@ -138,7 +138,7 @@ class InlineBot:
self.commands.append(Command("Rasoio", "Dai facciamogli lo scherzo del rasoio!1!!", "genericurl", "htmlDescription"))
self.cancerCommand = Command("Cancer", "Search cancer", "imageurl", "imageurl")
def asResponse(dct):
def asResponse(self, dct):
print("LOG:::",str(dct))
if "imageUrl" in dct:
return JSONResponse(dct["authorized"], dct["success"], dct["imageUrl"], "")