From cfe627ae2556bb89353373ca0a219eaf7c1283a9 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 11 Jul 2016 23:16:46 +0200 Subject: [PATCH] Fix Tweet --- otouto/plugins/tweet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/tweet.lua b/otouto/plugins/tweet.lua index 63580de..ad0c88e 100644 --- a/otouto/plugins/tweet.lua +++ b/otouto/plugins/tweet.lua @@ -145,7 +145,7 @@ function tweet:getTweet(self, msg, base, all) return "Konnte nicht verbinden, evtl. existiert der User nicht?" end - local response = json.decode(response_body) + local response = JSON.decode(response_body) if #response == 0 then return "Konnte keinen Tweet bekommen, sorry" end