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".
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.
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 = {}
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.
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.
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.
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.
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
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.
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.
administration.lua: everything's better; automatic migration.
database.usernames -> database.users. View with /me.
Nicks and lastfm usernames moved to database.users; auto migrate.
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/.
Adds self-hosted, single-realm administrative functions to otouto.
Check out the README for a detailed description.
Also added msg.from.name, which is msg.from.first_name + msg.from.last_name (if it
exists), because I'm too lazy to build it each time.
Fixed a crash-causing bug (ironically) in the handle_exception() function.