Commit Graph

47 Commits

Author SHA1 Message Date
topkecleon
bc6727275c whoops 2016-09-29 14:57:54 -04:00
topkecleon
4a657dc7a0 ^ 2016-09-09 05:15:00 -04:00
topkecleon
4067bef473 further improvements to a dead plugin 2016-09-09 05:13:20 -04:00
topkecleon
331510694f address #80 2016-09-09 05:08:39 -04:00
topkecleon
1fd125aa2c Add Lua 5.2 compatibility. 2016-09-06 20:34:57 -04:00
topkecleon
fa3e6d449f final changes to xkcd 2016-09-04 17:11:43 -04:00
EyeZiS
e4f42bacc3 Actual fix for unicode not showing up correctly from xkcd 2016-09-04 21:04:45 +02:00
topkecleon
1063ee8729 Move to Lua 5.3.
Also new shell script to install Luarocks (for Lua5.3) (on Ubuntu 16.04) and all
necessary rocks.
Updated tg-install.sh to not include all the needless dependencies.
2016-09-04 00:50:51 -04:00
topkecleon
caff204c71 administration.lua 1.13.2 - /desc can now be used with a query.
remind.lua - Now accepts repled-to message text as reminder.
2016-08-30 15:09:24 -04:00
topkecleon
384e4c62a3 Merge branch 'master' of http://otou.to/code 2016-08-26 23:27:13 -04:00
topkecleon
e92beeb58a trivial stuff 2016-08-26 23:25:55 -04:00
Brayden Banks
31d0c65e91 Record moderation reasoning to log when possible. 2016-08-26 19:31:12 -07:00
topkecleon
1e99a9a1f3 more drua stuff 2016-08-25 07:28:59 -04:00
topkecleon
f9a4bc8803 address #76
also bugfix
2016-08-24 13:29:26 -04:00
topkecleon
acc7046d64 administration 1.13.1
Added optional target for kick/ban logs. Added flag 7 to use default log
 per group. This way, a realm can have a public kick/ban log but governors
 are able to opt out. Added flag 8, antilink. Kicks for Telegram join links
 which do not refer to groups within the realm. Added flag 9, modrights, to
 give moderators access to changing the group photo, title, link, and motd
 (config option is deprecated. RIP). /unban will reset the target's autokick
 counter. Added configuration for default flag settings.

Revision to bindings.lua.
BASE_URL has been moved to bindings. There is no real reason for it to remain
in instance. Token is passed to bindings.init at load. All plugins have been
updated accordingly.
2016-08-23 00:16:32 -04:00
topkecleon
d3b0825fa0 oops 2016-08-15 01:08:55 -04:00
topkecleon
f9094a73ca address #75 2016-08-15 01:00:24 -04:00
topkecleon
738b45cdbd why was that there and how did it get through 2016-08-14 09:23:13 -04:00
topkecleon
148d4b0dc5 tab -> 4 spaces 2016-08-13 22:46:18 -04:00
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
e19d2e1e84 patterns.lua
Trim whitespace off the ends of strings (partial fix for
https://github.com/topkecleon/otouto/issues/74).
  Make output style consistent with translate.lua.
2016-07-26 17:50:31 -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
701f6bbd41 Merge branch 'master' of http://otou.to/code 2016-07-15 15:37:04 -04:00
topkecleon
22e41ee2fe blacklist.lua bugfix 2016-07-15 15:36:33 -04:00
Drew
43e8fe952f Merge pull request #73 from bb010g/patch-1
PokéGo fix.
2016-07-15 15:24:59 -04:00
topkecleon
8b6bf53cca blacklist.lua: Will now leave a blacklisted group. 2016-07-15 15:24:20 -04:00
Brayden
6f74268546 Fix your database serialization, Drew 2016-07-15 12:12:58 -07:00
Drew
218f8f6589 Merge pull request #72 from bb010g/gotta-catch-em-all
Add Pokémon Go plugin.
2016-07-13 21:58:49 -04:00
topkecleon
67f7d7e12f blacklist.lua rewritten to remove toggle and support multiple arguments.
The /reload command no longer has stupid, undocumented behavior (though there is now an opt-in for such
stupid, undocumented behavior for those of you who like stupid, undocumented behavior).
Slight modification to reactions.lua to prevent accidents.
New plugin: rmspic.lua. why
2016-07-13 21:57:23 -04:00
Brayden Banks
82fe1a8dc6 Add Pokémon Go plugin. 2016-07-13 18:20:26 -07: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
69f0702365 administration.lua bugfix 2016-06-19 19:54:19 -04:00
topkecleon
eadf593ed7 administration.lua 1.10.5
/groups now supports queries. Added /setqotd trigger/behavior to /setmotd.
2016-06-19 04:36:33 -04:00
Drew
fc1208af03 Merge pull request #68 from TiagoDanin/Fix-Shout
Fix and improvement in shout
2016-06-17 01:42:48 -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
TiagoDanin
9c8c112bb3 Revert limit of 17 char 2016-06-15 14:21:12 -05:00
topkecleon
f17455a505 Updated readme, slightly modified help behavior. 2016-06-15 08:35:39 -04:00
topkecleon
101eb70eae otouto 3.10
Plugins can now silence error messages or set their own.
  administration.lua now silences error messages.
  administration kick notifications now include user IDs.
2016-06-14 17:57:36 -04:00
TiagoDanin
f5abe50372 Fix and improvement in shout 2016-06-13 12:59:44 -05:00
topkecleon
31a8e220ac final bugfix (hopefully!) 2016-06-07 03:13:54 -04:00
topkecleon
b130bf8b5b more bugfixes! 2016-06-07 03:04:27 -04:00
topkecleon
4cf00227f6 yay, more bugfixes 2016-06-07 03:02:05 -04:00
topkecleon
c6f6fe96b8 more bugfixes, yay 2016-06-07 02:22:01 -04:00
topkecleon
6fc5320198 make brayden's stuff work 2016-06-07 00:31:34 -04:00
topkecleon
a97457aa01 fix stuff 2016-06-07 00:09:26 -04:00
Brayden Banks
c51fbedb7b Begin library-friendly structuring 2016-06-06 20:54:25 -07:00