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.
When an exception is caught, info will be printed to the config.log_chat or the console.
/preview will give an "unlinked" preview for the link.
youtube.lua now uses config.google_api_key.
youtube.lua now uses unlinked previews.
lastfm.lua gives more informative error messages.
New utility: handle_exception().
Usernames seen by the bot are now cached in the $usernames table. To get the ID associated with a
username, use the resolve_username() function from utilities.lua.
The table_size() function in utilities.lua will tell you the number of items in a key/pair table.
about.lua no longer displays a link preview in the about message.
currency.lua now accepts decimal arguments for the amount.
luarun.lua now correctly displays "false" return values.
moderation.lua will no longer send "I do not administrate this group".