Commit Graph

6 Commits

Author SHA1 Message Date
topkecleon
aa7e16013d Fix bot restarting twice because of /halt.
Fix antirtl kicks ending with error.
2016-02-22 15:53:17 -05:00
topkecleon
02a7d411fa Database is now centralized. All data is stored in tables within the database table,
which is automatically saved. Please be sure to always stop the bot with /halt to
prevent data loss.
2016-02-21 14:28:40 -05:00
topkecleon
03ce363c98 Switched from dkjson to cjson. lua-cjson is now a dependency.
administration.lua now saves its database every minute. This will be changed in a
future update.
2016-02-21 00:21:48 -05:00
topkecleon
6a9629286e bugfix 2016-02-20 18:29:45 -05:00
topkecleon
42d0e4cb0e administration.lua: fixed bug where users have no username
tg-install.sh: added info
2016-02-20 05:48:24 -05:00
topkecleon
180cd6078a Added administration.lua.
Adds self-hosted, single-realm administrative functions to otouto.
Check out the README for a detailed description.

Also added msg.from.name, which is msg.from.first_name + msg.from.last_name (if it
exists), because I'm too lazy to build it each time.
Fixed a crash-causing bug (ironically) in the handle_exception() function.
2016-02-20 05:07:20 -05:00