From e4e84e3bbbdc2090a9675b4d24ee24f150b97c99 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Sat, 10 Sep 2016 17:26:59 +0200 Subject: [PATCH] =?UTF-8?q?-=20Entferne=20=C3=BCberfl=C3=BCssige=20Variabl?= =?UTF-8?q?en=20aus=20der=20Config=20+=20=C3=BCbersetze=20Cleverbot-Respon?= =?UTF-8?q?se=20-=20Bugfix=20f=C3=BCr=20install-dependencies=20Skript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.lua.example | 9 ++------- install-dependencies.sh | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/config.lua.example b/config.lua.example index c5b5309..7227ddc 100644 --- a/config.lua.example +++ b/config.lua.example @@ -4,14 +4,9 @@ return { bot_api_key = '', -- Your Telegram ID. admin = 1337, - -- Two-letter language code. - lang = 'de', -- The channel, group, or user to send error reports to. -- If this is not set, errors will be printed to the console. log_chat = nil, - -- The port used to communicate with tg for administration.lua. - -- If you change this, make sure you also modify launch-tg.sh. - cli_port = 4567, -- The block of text returned by /start. about_text = [[ Dies ist die BETA-Version von Brawlbot v2. @@ -68,8 +63,8 @@ Sende /hilfe, um zu starten chatter = { cleverbot_api = 'https://brawlbot.tk/apis/chatter-bot-api/cleverbot.php?text=', - connection = 'I don\'t feel like talking right now.', - response = 'I don\'t know what to say to that.' + connection = 'Ich möchte jetzt nicht reden.', + response = 'Ich weiß nicht, wie ich darauf reagieren soll.' } } diff --git a/install-dependencies.sh b/install-dependencies.sh index 2b93546..988d761 100755 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -10,7 +10,7 @@ echo "Es werden auch Root-Rechte benötigt, um LuaRocks in /usr/local/" echo "mit den folgenden Rocks zu installieren:" echo $rocklist echo "Drücke ENTER, um fortzufahren, oder Strg-C zum Beenden." -read +read smth sudo apt-get update sudo apt-get install -y lua5.2 liblua5.2-dev git libssl-dev fortune-mod fortunes redis-server unzip make