Commit Graph

112 Commits

Author SHA1 Message Date
topkecleon
725261fcf7 Version 3.8
Relicense to AGPLv3, with consent of contributors.
bindings.lua completely rewritten. Shift to multipart-post.
Updated readme.
New plugins: bing.lua, channel.lua.
Removed plugins: floodcontrol.lua, librefm.lua.
luarun.lua: Will now serialize returned tables. Aliased "/return" to "/lua return".
2016-05-29 13:08:39 -04:00
topkecleon
684cca287f administration.lua: 1.10: Added /ahelp $command support. No
migration required. All actions have been reworked to be more
 elegant. Style has been slightly changed (no more weak-looking,
 italic group names). Added some (but not many) comments.

drua-tg.lua: Slightly changed send function with error catching
 for failed TCP connections.

reddit.lua: Rewritten, no more brokenness. Yay.
2016-05-25 09:01:54 -04:00
topkecleon
523eb8eecd updated readme
better user caching
improved me.lua
2016-05-15 08:22:31 -04:00
topkecleon
c8e8be144f xkcd.lua: Working again, but no more queries (for now).
fortune.lua: The bad spacing annoyed me to no end. Monospaced now.
patterns.lua: Error message upon malformed patterns.
readme.md: outdated, notice
2016-05-07 19:30:48 -04:00
Brayden Banks
56abfab0b4 Through the Testing-Glass, & What Drew Found There 2016-04-15 22:55:06 -07:00
Brayden Banks
24deaec759 *Should* have a working local refactor now. 2016-04-10 21:04:47 -07:00
Brayden Banks
acb679f8fa I should probably commit now. Less global magic! 2016-04-08 14:12:02 -07:00
topkecleon
550d0743b7 Trimmed plugins which require API keys from the default config. 2016-04-05 07:10:53 -04:00
topkecleon
38efb5d827 administration.lua: 1.8.1
me.lua: Fix for potential future bug.
README.md: Better links.
config.lua: Added comments, links, removed unnecessary things.
greetings.lua: Default configuration now built in so as to not
  crowd the config file.
.gitignore: wew lad
2016-04-05 06:43:11 -04:00
topkecleon
2efb8cec75 updated readme 2016-04-05 03:55:53 -04:00
Drew
1a237536a9 Merge pull request #47 from TiagoDanin/patch-6
README Update references
2016-04-05 03:52:58 -04:00
topkecleon
8fe72b3a64 administration.lua: 1.8. See file for changes. 2016-04-05 03:42:16 -04:00
Tiago Danin
15812bf1a9 README Update references 2016-04-04 12:42:21 -03:00
Tiago Danin
4731c17bda Add url for google cse 2016-04-03 14:33:22 +02:00
topkecleon
76f80316c4 updated readme 2016-04-02 20:46:57 -04:00
topkecleon
1eb434f198 Updated readme for grammar and easier reading without formatting. 2016-04-02 19:15:38 -04:00
topkecleon
381a363346 oops 2016-03-31 07:54:55 -04:00
topkecleon
b643154df8 administration.lua: Added antiflood flag.
bible.lua: Some better error handling.
hearthstone.lua: Corrected help message.
utilities.lua: Added string:index() to succeed get_word().
2016-03-31 07:53:12 -04:00
topkecleon
3063df56c9 Well, that didn't work. 2016-03-28 16:46:32 -04:00
topkecleon
f18162ce4d updated readme 2016-03-28 16:45:59 -04:00
topkecleon
5762e12a48 administration.lua:
Switched to drua-tg.lua.
  Groups are now listed according to most recent activity.
whoami.lua:
  Displays channel/supergroup IDs properly.
2016-03-27 08:30:41 -04:00
topkecleon
9377107508 Bugfixes and updated readme. 2016-03-26 06:12:01 -04:00
topkecleon
83bdeccdb1 updatedest readme 2016-03-22 09:45:35 -04:00
topkecleon
45366471aa updateder readme 2016-03-22 09:43:44 -04:00
topkecleon
3bf9fb0a22 updated readme 2016-03-22 09:38:29 -04:00
topkecleon
f529bc9ad8 help.lua and about.lua: /start now triggers about.lua
blacklist.lua: Added username support.
2016-03-04 17:08:21 -05:00
topkecleon
ffccdd8667 okay i might be done
for now
2016-02-25 10:08:27 -05:00
topkecleon
3e9d6a50b2 ^ 2016-02-25 09:18:29 -05:00
topkecleon
306f563d60 Just playing with my README. 2016-02-25 09:17:19 -05:00
topkecleon
353d6eb807 cron jobs will now occur every sixty seconds. Maybe configurable
in the future.
Updated readme from manual. Manual will now be generated from
 readme.
2016-02-25 09:05:08 -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
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