Commit Graph

595 Commits

Author SHA1 Message Date
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
Brayden Banks
1dc61d2c44 Final fixes. 2016-04-15 06:57:42 -07:00
Tiago Danin
6df75103b7 Add sendVenue 2016-04-15 14:16:04 +02:00
topkecleon
4f9420ae31 Merge branch 'master' of http://github.com/topkecleon/otouto 2016-04-15 01:44:28 -04:00
topkecleon
2779329b1a needless bindings fussing 2016-04-15 01:44:24 -04:00
Drew
9fa7ff1b6b Merge pull request #51 from Mrhalix/patch-1
add sendContact
2016-04-15 01:35:00 -04:00
Mrhalix
3a011c3ce6 add sendContact 2016-04-15 08:26:32 +04:30
Brayden Banks
80930f389c Merge branch 'master' into less-magic 2016-04-12 06:47:30 -07:00
topkecleon
38b4b68ba2 hearthstone.lua: Temporary fix. API does not play well with lua-sec, so using curl for now.
bindings.lua: Added support for kickChatMember and unbanChatMember methods.

utilties.lua: enrich_message() will rename the new_chat_member and left_chat_member values to the names
expected by plugins: new_chat_participant and left_chat_participant.

bot.lua: Removed migration code. Rewrite soon.

eightball.lua: Bugfix.
2016-04-12 05:24:56 -04:00
Brayden Banks
fbe933f5ec Final(?) fixes. 2016-04-11 22:01:38 -07:00
Brayden
0e8a2693fb Make plugin.cron be called with the instance 2016-04-11 08:02:21 -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
Drew
9f9ca12e8f Merge pull request #45 from TiagoDanin/patch-2
Add url for google cse
2016-04-03 23:33:29 -04:00
Drew
52773136b0 Merge pull request #46 from JuanPotato/master
support replied message's captions instead of text
2016-04-03 23:33:11 -04:00
JuanPotato
bcb2fc630d support replied message's captions instead of text 2016-04-03 15:18:25 -04: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
c74d1913a4 New method to escape markdown.
Improvements to patterns.lua.
2016-04-02 19:20:28 -04:00