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/README.md

28 lines
901 B
Markdown
Raw Normal View History

2015-07-02 23:39:19 +02:00
# otouto
2015-07-08 04:24:12 +02:00
2015-07-09 04:56:50 +02:00
The plugin-wielding, multi-purpose Telegram bot.
2015-07-08 04:24:12 +02:00
Public bot runs on [@mokubot](http://telegram.me/mokubot).
Requires lua-socket and lua-sec. [dkjson](https://github.com/LuaDist/dkjson/) is provided.
Edit config.json with your bot API key, and other API keys if desirable.
Plugins which require an API key are disabled by default.
`lua bot.lua`
2015-07-08 04:24:12 +02:00
###Configuration
Most config.json entries are self-explanatory.
Giphy key provided is the public test key, and is subject to rate limitation.
2015-07-08 04:24:12 +02:00
TIME_OFFSET is the time difference, in seconds, between your system clock. It is often necessary for accurate output of the time plugin.
"admins" table includes the ID numbers, as integers, of any privileged users. These will have access to the admin plugin and any addition privileged commands.
"people" table is for the personality plugin:
`"123456789": "foobar"`
2015-07-08 09:38:04 +02:00
ID number must be a string.