Commit Graph

214 Commits

Author SHA1 Message Date
Brayden Banks
1dc61d2c44 Final fixes. 2016-04-15 06:57:42 -07:00
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
topkecleon
1eb434f198 Updated readme for grammar and easier reading without formatting. 2016-04-02 19:15:38 -04:00
topkecleon
b41a05e3cd administration.lua:
1.7 update.
  /alist for governors+ to get list of admins.
  /glist for owner to get list of groups.
  Single-governor groups. Auto-migration through 1.8.
whoami.lua:
  Fixed markdown support.
utilities.lua:
  Added build_name() to concatenate first and last names easily.
2016-04-01 13:34:22 -04:00
topkecleon
cc4c1ea108 Merge branch 'master' of http://github.com/topkecleon/otouto 2016-04-01 13:33:58 -04:00
topkecleon
0f453b7bdc administration.lua:
1.7 update.
  /alist for governors+ to get list of admins.
  /glist for owner to get list of groups.
  Single-governor groups. Auto-migration through 1.8.
whoami.lua:
  Fixed markdown support.
utilities.lua:
  Added build_name() to concatenate first and last names easily.
2016-04-01 13:29:00 -04:00
Drew
25f95d5854 administration.lua: Fixed security flaw.
I have no idea why I wrote it that way or how it slipped past me.
2016-03-31 17:48:20 -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
6b3e3ae8a6 whoami.lua: Rewrite. Added markdown support.
administration.lua: Bugfixes and improvements. v1.6.1.
2016-03-28 02:15:46 -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
495cc8d0c1 translate.lua now enquotes translations.
echo.lua now enquotes echos in supergroups.
2016-03-23 19:54:18 -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
b5ea8f3bbe bunch of stuff
administration.lua: everything's better; automatic migration.
database.usernames -> database.users. View with /me.
Nicks and lastfm usernames moved to database.users; auto migrate.
2016-03-22 06:16:26 -04:00
topkecleon
aebb90f9b4 Added "setandget.lua" plugin. 2016-03-15 16:37:19 -04:00
topkecleon
212846edb8 crap 2016-03-08 08:41:45 -05:00
topkecleon
ad3a16a814 Changed database name to the bot's name (rather than generic
"otouto"). You must manually rename your db file.
2016-03-08 08:15:48 -05:00
topkecleon
a2bdecb7bb nick.lua:
Less stupidly written.
  Owner can now set other users' nicknames via reply.
patterns.lua:
  Minor code changes.
2016-03-08 04:17:55 -05:00
Drew
7813564209 Merge pull request #43 from TiagoDanin/patch-1
administration.lua: Fix cron().
2016-03-06 02:03:19 -05:00
Tiago Danin
3ef4c01295 FIX cli_port 2016-03-05 15:15:53 -03: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
ec64f18138 lastfm.lua: Added timeout to prevent bot from locking up. 2016-03-04 13:06:13 -05:00
topkecleon
62e0aa12ad Added binding "sendPhotoID" to send photos by ID. More inc. 2016-03-02 20:52:32 -05:00
topkecleon
664c2296ad administration.lua:
version 1.3
  reply-based commands will now work as you would expect when
   replying to add/remove messages
  some information messages have been changed
2016-02-26 22:06:38 -05:00
topkecleon
f102eeb135 Some tweaks to disable_notification. 2016-02-26 11:48:57 -05:00
topkecleon
02c915f3d3 Merge branch 'master' of http://github.com/topkecleon/otouto 2016-02-26 11:47:03 -05:00
Drew
8142040a8d Merge pull request #42 from Imandaneshi/master
Added disable_notification
2016-02-26 11:46:51 -05:00
topkecleon
57d466d0fb clean up some old crap 2016-02-26 11:46:14 -05:00