- Entferne überflüssige Variablen aus der Config + übersetze Cleverbot-Response

- Bugfix für install-dependencies Skript
This commit is contained in:
Andreas Bielawski 2016-09-10 17:26:59 +02:00
parent f1153443a4
commit e4e84e3bbb
2 changed files with 3 additions and 8 deletions

View File

@ -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.'
}
}

View File

@ -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