Commit Graph

72 Commits

Author SHA1 Message Date
topkecleon
6fbd718af0 whoop 2016-08-13 22:43:23 -04:00
topkecleon
43a6b53c90 otouto 3.13
good lord
2016-08-13 22:26:44 -04:00
topkecleon
b7c81c464f otouto v3.12
Minor changes across the board. More planned. I also may have accidentally screwed with access
permissions (so looks like every file is marked modified).
Moved drua-tg.lua into the otouto/ directory.
Added pokego-calculator.lua plugin (similar to pidgeycalc.com).
2016-07-25 05:03:35 -04:00
topkecleon
9ebdbd9d3c otouto 3.11
"things occurred"

Added some utilities (id_from_username, id_from_message), removed some utilities (latcyr, others?).
Removed cycle-wasting "shortcuts" -- no more automatic id_str or name; text_lower remains.
Moved userdata (nicknames, lastfm, etc) to a different tree in the database (automatic migration will occur). /me now returns userdata.
Speaking of migration, database now stores the latest version run to make future automigration easy.
Database now saves hourly rather than minutely.
Changed readme and some plugins to reflect above changes.
Removed broken rockspec (Brayden, feel free to re-add once it's working).
Added option to automatically block people (via drua) when blacklisted.
Fixed about.lua trigger problems.

administration 1.11 -  Removed /kickme and /broadcast. Users should leave manually, and announcements should be made via channel rather than spam. /setqotd now handles forwarded messages correctly. /kick, /ban, /hammer,
/mod, /admin now support multiple arguments. Added get_targets function. No migration is necessary.
2016-07-05 03:29:11 -04:00
topkecleon
444ff18cac administration.lua 1.10.4
/flags now accepts multiple arguments.
control.lua - bugfix
The readme changed but I don't remember how.
2016-06-17 01:13:05 -04:00
topkecleon
f17455a505 Updated readme, slightly modified help behavior. 2016-06-15 08:35:39 -04:00
Brayden Banks
bb8b8b9c64 Moved utilities.CMD_PAT to config.cmd_pat. 2016-06-06 20:22:58 -07:00
topkecleon
a1810dba86 help.lua: Provides start link when unable to send a user the help message privately.
administration.lua: 1.10.3: /gadd now supports arguments.
2016-06-06 23:13:26 -04:00
topkecleon
e08e5f64ee good stuff
README.md: Greatly updated. Will do more in future.
administration.lua: Administrators will now be promoted to group admins upon joining an administrated
group.
drua-tg: Squashed all luacheck warnings.
chatter.lua: Mostly rewritten; things actually make sense now.
xkcd.lua: Slight styling change.
patterns.lua: Squashed a warning.
2016-05-30 19:10:58 -04:00
topkecleon
f66dd0958b readme: added bing API link 2016-05-29 13:17:20 -04:00
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