Commit Graph

157 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
8fe72b3a64 administration.lua: 1.8. See file for changes. 2016-04-05 03:42:16 -04:00
topkecleon
c74d1913a4 New method to escape markdown.
Improvements to patterns.lua.
2016-04-02 19:20:28 -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
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
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
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
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
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
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
57d466d0fb clean up some old crap 2016-02-26 11:46:14 -05:00
Brayden
eaf379bf88 Fix title escaping 2016-02-25 20:50:51 -08:00
Brayden
921bba1cff Increase reliability of Wikipedia
Pulls directly from the unescaped URL now and feeds that into `wurl` instead of the escaped title.
2016-02-25 20:14:25 -08:00
Brayden
b5c9527c41 Fix Wikipedia links with special characters
Wonderfully untested, but it Should Work™.
2016-02-25 19:51:12 -08:00
Tiago Danin
99e7449395 FIX shout 2016-02-25 12:15:00 -03:00
topkecleon
ffccdd8667 okay i might be done
for now
2016-02-25 10:08:27 -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
ddaf304460 administration.lua:
Version 1.2.
  Rules are now in a table. Automatic migration until 1.4.
  New command: changerule
    /changerule <i> <rule>
    Change a rule. Use "/changerule 1 --" to delete rule 1.
  ahelp:
    Only displays commands the user can use.
    Attempts to PM before group.
  desc:
    Now displays group's flags and their "short" descs.
    Attemps to PM before group.
  antisquig:
    Second RTL character added to, and Strict.
dilbert.lua:
  New command: dilbert
    /dilbert [YYYY-MM-DD]
    Returns a date's or the latest Dilbert strip.
    Caches strips so they are not downloaded more than once.
gImages.lua & youtube.lua:
  Title now displayed for links.
  The "zero-width non-joiner" was a stupid idea.
help.lua:
  Commands now properly bulleted.
utilities.lua:
  download_file():
    Now allows for specification of a path instead of /tmp/.
2016-02-25 04:42:13 -05:00
topkecleon
12c442d870 Final fix to wikipedia.lua. 2016-02-23 16:32:34 -05:00
topkecleon
4111fac0cb added regex-like Lua patterns plugin 2016-02-23 15:50:42 -05:00