Move to Lua 5.3.

Also new shell script to install Luarocks (for Lua5.3) (on Ubuntu 16.04) and all
necessary rocks.
Updated tg-install.sh to not include all the needless dependencies.
This commit is contained in:
topkecleon
2016-09-04 00:50:51 -04:00
parent caff204c71
commit 1063ee8729
7 changed files with 44 additions and 13 deletions

View File

@@ -27,6 +27,8 @@ bot.version = '3.13'
-- Function to be run on start and reload.
function bot:init(config)
assert(config.bot_api_key, 'You didn\'t set your bot token in config.lua!')
bindings = require('otouto.bindings').init(config.bot_api_key)
utilities = require('otouto.utilities')