Commit Graph

82 Commits

Author SHA1 Message Date
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
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
topkecleon
5cb058ec6b updated readme with apod.lua 2016-02-16 04:03:04 -05:00
topkecleon
e04abca769 apod.lua: now uses HD links 2016-01-14 15:49:37 -05:00
Heitor P. de Bittencourt
be6ecc04e2 Added APOD plugin.
Gets Astronomy Picture of the Day, from NASA.
2016-01-14 21:38:26 +02:00
topkecleon
d1e0e939b5 updated readme 2016-01-09 08:42:47 -05:00
topkecleon
26c1299374 Rewrote help.lua and added markup support to several plugins.
help.lua has been rewritten to support "/help command".
New variable "command" has been added to plugins for the syntax (w/out slash) to be displayed in main
help message. "doc" will be displayed upon "/help command".

Output of >12 plugins has been reformated to utilize markup.
There is a fairly standard style throughout plugins.

get_word() in utilities.lua now has defaults for nil arguments.
2016-01-08 08:44:37 -05:00
topkecleon
9070a44c8f Improved triggers for many plugins.
Redone README to match the website.
Bot now supports deep linking / start payloads.
lastfm.lua now notifies a user when his default username is saved.
antisquig is now part of moderation.lua.
2016-01-07 22:30:12 -05:00
topkecleon
c8a90c5c7f added attribution for antisquig 2015-12-10 11:34:20 -05:00
topkecleon
80f363de44 markdown support in messages
other changes & improvements
2015-12-05 09:30:52 -05:00
topkecleon
c5c3660de4 updated readme, changed some things 2015-12-04 09:56:48 -05:00
topkecleon
faa86ab8fd Added Hearthstone plugin. 2015-11-29 04:45:00 -05:00
topkecleon
d29f732d23 updated readme 2015-11-24 21:31:44 -05:00
topkecleon
a5b6f4d864 updated README 2015-11-24 21:28:09 -05:00
topkecleon
cacfea1fa5 otouto v3 is out!
Everything reworked and rewritten.
Antisquig is now a plugin to work with moderation.lua.
The bot can now upload photos, stickers, and other files.
Return values in plugin functions to affect the bot's behavior.
All this and more!
2015-11-24 21:22:04 -05:00
Tiago Danin
6d7fb3eece Organization of command list of plugins
Organization of command list of plugins:
- Added new plugins on list
- Listed a-z ~ 1-0
:D
2015-11-15 11:41:09 -02:00
Tiago Danin
fa6f9f1d62 Add new plugin in the list 2015-10-12 19:41:43 -03:00
topkecleon
cf8dc26d42 doubly updated readme 2015-09-07 14:58:33 -04:00
topkecleon
483d8be255 updated readme 2015-09-07 14:57:53 -04:00
topkecleon
2d2933c8e5 add hearthstone plugin
in case of flood control, bot will now answer in PM if possible
2015-09-07 11:19:36 -04:00
topkecleon
da0785f246 updated readme to clarify
otouto is *not* a port of yagop's telegram-bot
2015-09-04 16:00:23 -04:00
topkecleon
60570e90f3 added cron jobs for plugins
added example plugin with documentation
added liberbot-compliant flood control
	see Liberbot Support for details on getting compliant
added Kickass Torrent plugin
various bugfixes
all files seem to have been marked changed due to a shift in platform
	I will do a clean clone and testing to ensure there is no issue.
2015-08-28 23:15:01 -07:00
topkecleon
a1a4978a1b config, locale in lua
personality.lua -> interactions.lua
innumerable improvements
2015-07-15 02:15:23 -04:00
topkecleon
42cda22ab6 much improved personality.lua interactions
partial localization support
2015-07-11 04:31:29 -04:00
topkecleon
294ca0319a updated readme 2015-07-10 23:43:30 -04:00
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
dupie
947d397673 fixed btc 2015-07-08 22:56:50 -04:00
dupie
af3da2abfd swapped ! for / 2015-07-08 03:38:04 -04:00
dupie
df1d6a206f dkjson now required and included
cjson broke on latest update

a few small improvements
giphy public test key now included
bible plugin disabled by default because of no default key
much updated readme
2015-07-07 23:24:40 -04:00
dupie
dfece989a0 various improvements 2015-07-07 22:24:12 -04:00
dupie
236c8bebdb initial commie bastard 2015-07-02 18:15:52 -04:00
Drew
d65ed5e63f Initial commit 2015-07-02 17:39:19 -04:00