2015-11-25 03:22:04 +01:00
|
|
|
return {
|
|
|
|
bot_api_key = '',
|
2015-12-05 16:03:43 +01:00
|
|
|
google_api_key = '',
|
|
|
|
google_cse_key = '',
|
2015-11-25 03:22:04 +01:00
|
|
|
lastfm_api_key = '',
|
|
|
|
owm_api_key = '',
|
|
|
|
biblia_api_key = '',
|
|
|
|
thecatapi_key = '',
|
2016-01-14 20:56:30 +01:00
|
|
|
nasa_api_key = '',
|
2016-02-13 20:37:59 +01:00
|
|
|
yandex_key = '',
|
2016-01-21 20:57:06 +01:00
|
|
|
simsimi_key = '',
|
|
|
|
simsimi_trial = true,
|
2015-11-25 03:22:04 +01:00
|
|
|
time_offset = 0,
|
|
|
|
lang = 'en',
|
2016-02-20 11:07:20 +01:00
|
|
|
-- If you change this, make sure you also modify launch-tg.sh.
|
2016-01-08 04:30:12 +01:00
|
|
|
cli_port = 4567,
|
2015-11-25 03:22:04 +01:00
|
|
|
admin = 00000000,
|
2015-12-14 20:48:17 +01:00
|
|
|
admin_name = 'John Smith',
|
2016-01-13 19:00:17 +01:00
|
|
|
log_chat = nil,
|
2015-11-25 03:22:04 +01:00
|
|
|
about_text = [[
|
2016-01-15 04:39:24 +01:00
|
|
|
I am otouto, the plugin-wielding, multi-purpose Telegram bot.
|
2015-11-25 03:22:04 +01:00
|
|
|
|
|
|
|
Send /help to get started.
|
|
|
|
]] ,
|
|
|
|
errors = {
|
|
|
|
connection = 'Connection error.',
|
|
|
|
results = 'No results found.',
|
|
|
|
argument = 'Invalid argument.',
|
|
|
|
syntax = 'Invalid syntax.',
|
|
|
|
chatter_connection = 'I don\'t feel like talking right now.',
|
|
|
|
chatter_response = 'I don\'t know what to say to that.'
|
|
|
|
},
|
|
|
|
greetings = {
|
|
|
|
['Hello, #NAME.'] = {
|
|
|
|
'hello',
|
|
|
|
'hey',
|
|
|
|
'sup',
|
|
|
|
'hi',
|
|
|
|
'good morning',
|
|
|
|
'good day',
|
|
|
|
'good afternoon',
|
|
|
|
'good evening'
|
|
|
|
},
|
|
|
|
['Goodbye, #NAME.'] = {
|
|
|
|
'bye',
|
|
|
|
'later',
|
|
|
|
'see ya',
|
|
|
|
'good night'
|
|
|
|
},
|
|
|
|
['Welcome back, #NAME.'] = {
|
|
|
|
'i\'m home',
|
|
|
|
'i\'m back'
|
|
|
|
},
|
2015-11-25 17:13:19 +01:00
|
|
|
['You\'re welcome, #NAME.'] = {
|
2015-11-25 03:22:04 +01:00
|
|
|
'thanks',
|
|
|
|
'thank you'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
moderation = {
|
|
|
|
admins = {
|
|
|
|
['00000000'] = 'You'
|
|
|
|
},
|
2016-02-23 04:58:32 +01:00
|
|
|
errors = {
|
|
|
|
antisquig = 'This group is English-only.',
|
|
|
|
moderation = 'I do not moderate this group.',
|
|
|
|
not_mod = 'This command must be run by a moderator.',
|
|
|
|
not_admin = 'This command must be run by an administrator.',
|
|
|
|
},
|
2015-11-25 03:22:04 +01:00
|
|
|
admin_group = -00000000,
|
2016-02-23 04:58:32 +01:00
|
|
|
realm_name = 'My Realm',
|
|
|
|
antisquig = false
|
2015-11-25 03:22:04 +01:00
|
|
|
},
|
|
|
|
plugins = {
|
2015-12-13 22:31:22 +01:00
|
|
|
'control.lua',
|
2016-01-15 05:08:49 +01:00
|
|
|
'blacklist.lua',
|
2015-11-25 03:22:04 +01:00
|
|
|
'about.lua',
|
2016-01-15 05:08:49 +01:00
|
|
|
'floodcontrol.lua',
|
2015-12-05 15:30:52 +01:00
|
|
|
'ping.lua',
|
2015-11-25 03:22:04 +01:00
|
|
|
'whoami.lua',
|
|
|
|
'nick.lua',
|
|
|
|
'echo.lua',
|
|
|
|
'gSearch.lua',
|
|
|
|
'gImages.lua',
|
|
|
|
'gMaps.lua',
|
|
|
|
'youtube.lua',
|
|
|
|
'wikipedia.lua',
|
|
|
|
'hackernews.lua',
|
|
|
|
'imdb.lua',
|
|
|
|
'calc.lua',
|
|
|
|
'urbandictionary.lua',
|
|
|
|
'time.lua',
|
|
|
|
'eightball.lua',
|
|
|
|
'reactions.lua',
|
|
|
|
'dice.lua',
|
|
|
|
'reddit.lua',
|
|
|
|
'xkcd.lua',
|
|
|
|
'slap.lua',
|
|
|
|
'commit.lua',
|
|
|
|
'pun.lua',
|
|
|
|
'pokedex.lua',
|
|
|
|
'bandersnatch.lua',
|
|
|
|
'currency.lua',
|
|
|
|
'cats.lua',
|
2016-01-08 04:30:12 +01:00
|
|
|
'hearthstone.lua',
|
2015-12-14 20:48:17 +01:00
|
|
|
'shout.lua',
|
2016-01-14 20:38:26 +01:00
|
|
|
'apod.lua',
|
2016-02-23 21:50:42 +01:00
|
|
|
'patterns.lua',
|
2016-01-14 20:38:26 +01:00
|
|
|
-- Put new plugins above this line.
|
2015-11-25 03:22:04 +01:00
|
|
|
'help.lua',
|
|
|
|
'greetings.lua'
|
|
|
|
}
|
|
|
|
}
|