From f62095634e79c5449704ce7f540cbe1eddef64f7 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Thu, 11 Aug 2016 17:03:23 +0200 Subject: [PATCH] =?UTF-8?q?-=20Respond:=20=C3=84ndere=20URLs=20f=C3=BCr=20?= =?UTF-8?q?Bilder,=20da=20GDrive-Webhosting=20Ende=20August=20eingestellt?= =?UTF-8?q?=20wird?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otouto/plugins/respond.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/otouto/plugins/respond.lua b/otouto/plugins/respond.lua index d111a4e..8b5117d 100644 --- a/otouto/plugins/respond.lua +++ b/otouto/plugins/respond.lua @@ -47,7 +47,7 @@ end function respond:action(msg, config, matches) local user_name = get_name(msg) local receiver = msg.chat.id - local GDRIVE_URL = 'https://de2319bd4b4b51a5ef2939a7638c1d35646f49f8.googledrive.com/host/0B_mfIlDgPiyqU25vUHZqZE9IUXc' + local BASE_URL = 'https://anditest.perseus.uberspace.de/plugins/respond' if user_name == "DefenderX" then user_name = "Deffu" end if string.match(msg.text, "[Ff][Gg][Tt].? [Ss][Ww][Ii][Ff][Tt]") then @@ -78,11 +78,11 @@ function respond:action(msg, config, matches) utilities.send_message(self, receiver, '🐸🐸🐸') return elseif string.match(msg.text, "[Ii][Nn][Ll][Oo][Vv][Ee]") then - local file = download_to_file(GDRIVE_URL..'/inlove.gif') + local file = download_to_file(BASE_URL..'/inlove.gif') utilities.send_document(self, receiver, file) return elseif string.match(msg.text, "[Ww][Aa][Tt]") then - local WAT_URL = GDRIVE_URL..'/wat' + local WAT_URL = BASE_URL..'/wat' local wats = { "/wat1.jpg", "/wat2.jpg",