This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot-2/config.lua

109 lines
2.1 KiB
Lua
Raw Normal View History

return {
bot_api_key = '',
google_api_key = '',
google_cse_key = '',
lastfm_api_key = '',
owm_api_key = '',
biblia_api_key = '',
thecatapi_key = '',
nasa_api_key = '',
2016-01-21 20:57:06 +01:00
simsimi_key = '',
simsimi_trial = true,
time_offset = 0,
lang = 'en',
antisquig = false,
-- If you change this, make sure you also modify launch-tg.sh.
cli_port = 4567,
admin = 00000000,
2015-12-14 20:48:17 +01:00
admin_name = 'John Smith',
log_chat = nil,
about_text = [[
2016-01-15 04:39:24 +01:00
I am otouto, the plugin-wielding, multi-purpose Telegram bot.
Send /help to get started.
]] ,
errors = {
connection = 'Connection error.',
results = 'No results found.',
argument = 'Invalid argument.',
syntax = 'Invalid syntax.',
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.',
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.'] = {
'thanks',
'thank you'
}
},
moderation = {
admins = {
['00000000'] = 'You'
},
admin_group = -00000000,
realm_name = 'My Realm'
},
plugins = {
'control.lua',
'blacklist.lua',
'about.lua',
'floodcontrol.lua',
'ping.lua',
'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',
'hearthstone.lua',
2015-12-14 20:48:17 +01:00
'shout.lua',
'apod.lua',
-- Put new plugins above this line.
'help.lua',
'greetings.lua'
}
}