Commit Graph

983 Commits

Author SHA1 Message Date
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
Drew
75eea13ab4 Merge pull request #41 from bb010g/patch-3
Increase reliability of Wikipedia
2016-02-26 11:32:22 -05:00
imandaneshi
2910d72c65 Added disable_notification 2016-02-26 13:10:43 +03:30
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
Drew
ab30fa2c6e Merge pull request #40 from bb010g/patch-2
Fix Wikipedia links with special characters
2016-02-25 22:53:34 -05:00
Brayden
b5c9527c41 Fix Wikipedia links with special characters
Wonderfully untested, but it Should Work™.
2016-02-25 19:51:12 -08:00
Drew
f5b8d2cbc6 Merge pull request #39 from TiagoDanin/patch-1
FIX shout
2016-02-25 11:01:16 -05: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
3e9d6a50b2 ^ 2016-02-25 09:18:29 -05:00
topkecleon
306f563d60 Just playing with my README. 2016-02-25 09:17:19 -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
topkecleon
dcc51d4f05 administration.lua: banlist is merged with global blacklist.
Merge will commence automatically and users should not notice it,
except that all blacklisted users are now globally banned and
vice-versa.
2016-02-23 06:15:48 -05:00
topkecleon
1b95a1e0c9 Some moderation output changes. May rework the plugin later. 2016-02-22 22:58:32 -05:00
topkecleon
971b27335b db now saves every minute. Will make it configurable in future. 2016-02-22 18:07:16 -05:00
topkecleon
64160e700c Save the database way less often. 2016-02-22 16:46:26 -05:00
topkecleon
aa7e16013d Fix bot restarting twice because of /halt.
Fix antirtl kicks ending with error.
2016-02-22 15:53:17 -05:00
topkecleon
69de75bf72 hearthstone.lua bugfix 2016-02-21 22:09:02 -05:00
topkecleon
02a7d411fa Database is now centralized. All data is stored in tables within the database table,
which is automatically saved. Please be sure to always stop the bot with /halt to
prevent data loss.
2016-02-21 14:28:40 -05:00
topkecleon
03ce363c98 Switched from dkjson to cjson. lua-cjson is now a dependency.
administration.lua now saves its database every minute. This will be changed in a
future update.
2016-02-21 00:21:48 -05:00
Drew
f61eabf946 Merge pull request #33 from TiagoDanin/Yandex
Migrating to yandex (translate)
2016-02-20 18:38:06 -05:00
topkecleon
6a9629286e bugfix 2016-02-20 18:29:45 -05:00
Drew
a167db9006 Merge pull request #37 from TiagoDanin/patch-1
FIX .gitignore
2016-02-20 18:20:02 -05:00
Tiago Danin
912001c7fc FIX .gitignore 2016-02-20 10:32:21 -03:00
topkecleon
42fb9411bb totally essential bug fix for totally essential feature @bb010g
https://github.com/topkecleon/otouto/pull/36
2016-02-20 08:04:23 -05:00
topkecleon
f5233aa76f :^) 2016-02-20 07:52:14 -05:00
Drew
2fee3c90b7 Merge pull request #36 from bb010g/patch-1
Essential feature
2016-02-20 07:51:35 -05:00
topkecleon
a838ac1aa1 hashtag MakeWikipediaGreatAgain 2016-02-20 05:57:57 -05:00