Commit Graph

719 Commits

Author SHA1 Message Date
Drew
38fd3561de Merge pull request #62 from bb010g/proper-module
Make otouto a proper module
2016-06-06 23:56:38 -04:00
Brayden Banks
c51fbedb7b Begin library-friendly structuring 2016-06-06 20:54:25 -07:00
topkecleon
732b55369a increment version number 2016-06-06 23:45:39 -04:00
topkecleon
e60865d4a4 fix capitalization problems 2016-06-06 23:45:11 -04:00
Drew
1de9e7f968 Merge pull request #63 from bb010g/explicit-config
Explicit config
2016-06-06 23:28:23 -04:00
Brayden Banks
bb8b8b9c64 Moved utilities.CMD_PAT to config.cmd_pat. 2016-06-06 20:22:58 -07:00
Brayden Banks
ed6b536a46 Fully use utilities.CMD_PAT (née INVOCATION_PATTERN). 2016-06-06 20:21:42 -07:00
Brayden Banks
6a13d523fb Extracted config from instance. 2016-06-06 20:21:42 -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
4848c9875b add reply-to input support to shout.lua 2016-06-01 21:01:45 -04:00
topkecleon
b7d2fe7f82 administration.lua: Fixed bug in antibot. 2016-05-30 21:06:33 -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
Drew
f614e83497 Merge pull request #64 from 39bit/master
Unicode support for length checking in /nick
2016-05-29 20:59:23 -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
BuildTools
6fdd906d2c Unicode support for length checking in /nick 2016-05-27 18:49:58 +03:00
topkecleon
fefadc562f drua fix 2016-05-26 22:35:45 -04:00
topkecleon
77b859fc29 administration.lua: Bug fixes and minor improvements. :^)
reddit.lua: A single bug fix.
bot.lua: A single minor improvement.
2016-05-26 07:22:20 -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
85c9785099 administration.lua: Generic action is optimized.
drua-tg.lua: Now packed with otouto because why keep it in a
 separate repo?
2016-05-22 16:08:45 -04:00
topkecleon
3203b8fe7e Fix for the latest API update. 2016-05-22 03:03:50 -04:00
topkecleon
68c1ae226c administration.lua: kicking via tg is much faster than kicking via API
control.lua: added /script command
2016-05-20 20:47:13 -04:00
topkecleon
64621a640e I guess there were more changes last commit.
utilities change should make them work.
2016-05-20 03:38:43 -04:00
topkecleon
a786beada6 Whoops, forgot how things worked. 2016-05-20 03:34:52 -04:00
topkecleon
b55d430cd2 Minor bug fix. Glad I checked the git diff.
administration.lua: 1.9 - Added flag antihammer. Groups with
 antihammer enabled will not be affected by global bans. However,
 users who are hammer'd from an antihammer group will also be
 banned locally. Bot will now also attempt to kick via bot API
 before using tg. Added autobanning after (default) 3 autokicks.
 Threshold onfigurable with antiflood. Autokick counters reset
 within twenty-four hours. Merged antisquig action into generic.
 There is no automatic migration; simply add the following to
 database.administration:
  autokick_timer = 0
  groups[*].flags[6] = false
  groups[*].autoban = 3
  groups[*].autokicks = {}
2016-05-19 02:42:11 -04:00
topkecleon
8dd43e6f37 administration.lua: 1.9 - Added flag antihammer. Groups with
antihammer enabled will not be affected by global bans. However,
 users who are hammer'd from an antihammer group will also be
 banned locally. Bot will now also attempt to kick via bot API
 before using tg. Added autobanning after (default) 3 autokicks.
 Threshold onfigurable with antiflood. Autokick counters reset
 within twenty-four hours. Merged antisquig action into generic.
 There is no automatic migration; simply add the following to
 database.administration:
  autokick_timer = 0
  groups[*].flags[6] = false
  groups[*].autoban = 3
  groups[*].autokicks = {}

luarun.lua: Autoload more libraries by default, because the entire
 purpose of this plugin is for me to be lazy.

pun.lua: Added puns.

slap.lua: Added slaps.
2016-05-19 02:34:24 -04:00
topkecleon
523eb8eecd updated readme
better user caching
improved me.lua
2016-05-15 08:22:31 -04:00
topkecleon
3f17f7c516 administration.lua: /list -> /glist
wikipedia.lua: Working again, using Wikipedia's search API.
reactions.lua: Bugfix, and added /facepalm.
2016-05-13 16:09:40 -04:00
topkecleon
7df8992abe patterns.lua - Bugfix; was gsub-ing twice. 2016-05-13 13:22:10 -04:00
topkecleon
24892a9537 xkcd.lua: Removed needless require.
administration.lua: Easier for users to get command list.
nick.lua: Swap newlines for spaces.
lastfm.lua: Someone was tired writing this.
utilities.lua: Remove needless console output.
2016-05-10 15:49:05 -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
Drew
d00403eb2e Merge pull request #48 from bb010g/less-magic
[RFC] Less global magic
2016-05-06 14:40:38 -04:00
Brayden Banks
10b5beab85 Merge branch 'master' into less-magic 2016-05-06 18:38:17 +00:00
topkecleon
5d40dd0193 wat 2016-05-03 22:50:01 -04:00
Brayden Banks
46343a5503 Let's get this rock rolling! 2016-05-03 20:30:47 +00:00
Brayden Banks
41181085ce Merge branch 'master' into less-magic 2016-04-28 21:12:04 -07:00
topkecleon
f52b255eba Sorry, Tiago. This is why you should use multiple commits. 2016-04-28 14:27:22 -04:00
Drew
0483edb0c3 Merge pull request #56 from TiagoDanin/Markdown
Improvements and fix
2016-04-28 14:01:53 -04:00
Brayden Banks
08d266178d Merge branch 'master' into less-magic 2016-04-26 20:43:56 -07:00
Tiago Danin
63ce836326 Improvements and fix 2016-04-26 23:37:55 +00:00
Brayden
91404aa69f Fix reddit /r/foo trigger 2016-04-26 12:04:42 -07:00
topkecleon
86c290eb17 administration.lua will unban /unban'd users in supergroups.
help.lua's help text is now alphabetized.
2016-04-26 14:42:16 -04:00
Brayden Banks
f536395c91 Merge branch 'master' into less-magic 2016-04-25 22:40:31 -07:00
Brayden Banks
f138ee913c I think the refactor is finished now. 2016-04-25 21:58:16 -07:00
topkecleon
73f4863bc3 Small improvements to administration.lua. 2016-04-20 16:43:08 -04:00
topkecleon
66d9caefa3 Merge branch 'master' of http://github.com/topkecleon/otouto 2016-04-17 23:30:07 -04:00
topkecleon
effe34cb32 about.lua: Less redundant if-else.
administration.lua: Will now attempt to unban kicked users in supergrounds.
remind.lua: New plugin! Set a reminder.
control.lua: No more lost control messages.
2016-04-17 23:28:55 -04:00
Brayden Banks
56abfab0b4 Through the Testing-Glass, & What Drew Found There 2016-04-15 22:55:06 -07:00
Brayden Banks
9b4604daa2 Merge branch 'master' into less-magic
Conflicts:
	bindings.lua
2016-04-15 18:24:31 +00:00
Drew
1321b7ed39 Merge pull request #52 from TiagoDanin/patch-1
Add sendVenue
2016-04-15 14:15:56 -04:00