From c9314044525795955cc88078cadcc766d9c8d682 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Thu, 11 Aug 2016 03:24:05 +0200 Subject: [PATCH] Fixe Twitter_User --- otouto/plugins/twitter_user.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/twitter_user.lua b/otouto/plugins/twitter_user.lua index 7dd64c5..174b6c7 100644 --- a/otouto/plugins/twitter_user.lua +++ b/otouto/plugins/twitter_user.lua @@ -56,7 +56,7 @@ function twitter_user:resolve_url(url) end end -function twitter_user:action(msg) +function twitter_user:action(msg, config, matches) local twitter_url = "https://api.twitter.com/1.1/users/show/"..matches[1]..".json" local response_code, response_headers, response_status_line, response_body = client:PerformRequest("GET", twitter_url) local response = json.decode(response_body)