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
|
|
|
-- Two-letter language code.
|
2016-06-11 14:46:41 +02:00
|
|
|
lang = 'de',
|
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 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 = [[
|
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-05-27 05:28:44 +02:00
|
|
|
-- The symbol that starts a command. Usually noted as '/' in documentation.
|
|
|
|
cmd_pat = '/',
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2016-07-17 13:22:27 +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-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-06-15 01:29:23 +02:00
|
|
|
}
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2016-04-05 13:10:53 +02:00
|
|
|
plugins = { -- To enable a plugin, add its name to the list.
|
2016-04-14 05:48:20 +02:00
|
|
|
'control',
|
|
|
|
'blacklist',
|
|
|
|
'about',
|
|
|
|
'ping',
|
|
|
|
'whoami',
|
|
|
|
'nick',
|
|
|
|
'echo',
|
2016-06-11 14:46:41 +02:00
|
|
|
'imgblacklist',
|
|
|
|
'gImages',
|
|
|
|
'gSearch',
|
2016-04-14 05:48:20 +02:00
|
|
|
'gMaps',
|
|
|
|
'wikipedia',
|
|
|
|
'hackernews',
|
|
|
|
'imdb',
|
|
|
|
'calc',
|
|
|
|
'urbandictionary',
|
|
|
|
'time',
|
|
|
|
'dice',
|
|
|
|
'reddit',
|
|
|
|
'xkcd',
|
|
|
|
'slap',
|
|
|
|
'commit',
|
|
|
|
'pun',
|
|
|
|
'currency',
|
|
|
|
'shout',
|
2016-06-11 14:46:41 +02:00
|
|
|
'set',
|
|
|
|
'get',
|
|
|
|
'patterns',
|
|
|
|
'9gag',
|
|
|
|
'shell',
|
|
|
|
'adfly',
|
|
|
|
'twitter',
|
2016-01-14 20:38:26 +01:00
|
|
|
-- Put new plugins above this line.
|
2016-04-14 05:48:20 +02:00
|
|
|
'help',
|
|
|
|
'greetings'
|
2015-11-25 03:22:04 +01:00
|
|
|
}
|
2016-04-05 12:43:11 +02:00
|
|
|
|
2015-11-25 03:22:04 +01:00
|
|
|
}
|