2015-11-25 03:22:04 +01:00
|
|
|
return {
|
2016-04-05 12:43:11 +02:00
|
|
|
|
|
|
|
-- Your authorization token from the botfather.
|
2015-11-25 03:22:04 +01:00
|
|
|
bot_api_key = '',
|
2016-04-12 11:24:56 +02:00
|
|
|
-- Your Telegram ID.
|
2016-06-11 14:46:41 +02:00
|
|
|
admin = 1337,
|
2016-04-05 12:43:11 +02:00
|
|
|
-- 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 block of text returned by /start.
|
|
|
|
about_text = [[
|
2016-06-11 14:46:41 +02:00
|
|
|
Dies ist die BETA-Version von Brawlbot v2.
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2016-06-11 14:46:41 +02:00
|
|
|
Sende /hilfe, um zu starten
|
2016-04-05 12:43:11 +02:00
|
|
|
]],
|
2016-09-04 15:38:32 +02:00
|
|
|
|
|
|
|
-- DO NOT CHANGE THIS
|
2016-05-27 05:28:44 +02:00
|
|
|
cmd_pat = '/',
|
2016-09-04 15:38:32 +02:00
|
|
|
|
|
|
|
-- Text for users, who are not approved
|
|
|
|
banhammer_text = [[
|
|
|
|
Dies ist ein privater Bot, der erst nach einer Freischaltung benutzt werden kann.
|
|
|
|
This is a private bot, which can only be used after an approval.
|
|
|
|
]],
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2016-07-13 01:00:32 +02:00
|
|
|
-- false = only whitelisted users can use inline querys
|
|
|
|
-- NOTE that it doesn't matter, if the chat is whitelisted! The USER must be whitelisted!
|
|
|
|
enable_inline_for_everyone = true,
|
2016-08-16 15:02:31 +02:00
|
|
|
|
|
|
|
-- Path, where getFile.lua should store the files WITHOUT an ending slash!
|
|
|
|
-- Create the following folders in this folder: photo, document, video, voice
|
|
|
|
getfile_path = '/tmp/telegram_files',
|
2016-08-15 18:32:49 +02:00
|
|
|
|
|
|
|
-- Redis settings. Only edit if you know what you're doing.
|
|
|
|
redis = {
|
|
|
|
host = '127.0.0.1',
|
|
|
|
port = 6379,
|
|
|
|
use_socket = false, -- Set to true, if you need to connect over a socket
|
|
|
|
socket_path = 'unix:///home/path/to/your/redis/sock',
|
|
|
|
password = nil, -- Set, if you need a password to connect to redis
|
|
|
|
database = nil -- Set, if you want to select another database. Default is 0 (use no ""!)
|
|
|
|
},
|
2016-07-13 01:00:32 +02:00
|
|
|
|
2016-04-05 13:10:53 +02:00
|
|
|
errors = { -- Generic error messages used in various plugins.
|
2016-06-15 01:29:23 +02:00
|
|
|
generic = 'An unexpected error occurred.',
|
2016-06-11 14:46:41 +02:00
|
|
|
connection = 'Verbindungsfehler.',
|
|
|
|
quotaexceeded = 'API-Quota aufgebraucht.',
|
|
|
|
results = 'Keine Ergebnisse gefunden.',
|
|
|
|
sudo = 'Du bist kein Superuser. Dieser Vorfall wird gemeldet!',
|
|
|
|
argument = 'Invalides Argument.',
|
|
|
|
syntax = 'Invalide Syntax.',
|
|
|
|
chatter_connection = 'Ich möchte gerade nicht reden',
|
|
|
|
chatter_response = 'Ich weiß nicht, was ich darauf antworten soll.'
|
2016-08-14 16:30:06 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
remind = {
|
|
|
|
persist = true,
|
|
|
|
max_length = 1000,
|
|
|
|
max_duration = 526000,
|
|
|
|
max_reminders_group = 10,
|
|
|
|
max_reminders_private = 50
|
|
|
|
},
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2016-08-14 16:30:06 +02:00
|
|
|
chatter = {
|
|
|
|
cleverbot_api = 'https://brawlbot.tk/apis/chatter-bot-api/cleverbot.php?text=',
|
2016-09-10 17:26:59 +02:00
|
|
|
connection = 'Ich möchte jetzt nicht reden.',
|
|
|
|
response = 'Ich weiß nicht, wie ich darauf reagieren soll.'
|
2016-08-14 16:30:06 +02:00
|
|
|
}
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2015-11-25 03:22:04 +01:00
|
|
|
}
|