Mikubot 2 - Neu & besser
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.
Go to file
dupie 8c9a5ae7ba welcome/bye on join/leave group
function to alter msg before checking against plugin triggers
2015-07-10 03:52:22 -04:00
plugins welcome/bye on join/leave group 2015-07-10 03:52:22 -04:00
bindings.lua initial commie bastard 2015-07-02 18:15:52 -04:00
bot.lua welcome/bye on join/leave group 2015-07-10 03:52:22 -04:00
config.json enabled lenny 2015-07-08 04:00:26 -04:00
dkjson.lua dkjson now required and included 2015-07-07 23:24:40 -04:00
LICENSE Initial commit 2015-07-02 17:39:19 -04:00
README.md welcome/bye on join/leave group 2015-07-10 03:52:22 -04:00
utilities.lua initial commie bastard 2015-07-02 18:15:52 -04:00

otouto

The plugin-wielding, multi-purpose Telegram bot.

Public bot runs on @mokubot.

Requires lua-socket and lua-sec. 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

###Configuration

Most config.json entries are self-explanatory.

Giphy key provided is the public test key, and is subject to rate limitation.

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"

ID number must be a string.