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.
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".
help.lua has been rewritten to support "/help command".
New variable "command" has been added to plugins for the syntax (w/out slash) to be displayed in main
help message. "doc" will be displayed upon "/help command".
Output of >12 plugins has been reformated to utilize markup.
There is a fairly standard style throughout plugins.
get_word() in utilities.lua now has defaults for nil arguments.
Redone README to match the website.
Bot now supports deep linking / start payloads.
lastfm.lua now notifies a user when his default username is saved.
antisquig is now part of moderation.lua.
Everything reworked and rewritten.
Antisquig is now a plugin to work with moderation.lua.
The bot can now upload photos, stickers, and other files.
Return values in plugin functions to affect the bot's behavior.
All this and more!
added example plugin with documentation
added liberbot-compliant flood control
see Liberbot Support for details on getting compliant
added Kickass Torrent plugin
various bugfixes
all files seem to have been marked changed due to a shift in platform
I will do a clean clone and testing to ensure there is no issue.
various bugfixes
blacklisting support (blacklist.lua)
json file created automatically
users are blacklisted and unblacklisted via reply with /blacklist
nicknames support (nick.lua)
json file created automatically
users set nick by /nick
"people" section of config deprecated
moderation.lua improvements
administrators can now run mod commands
administrators are now listed with moderators
modlist improved to be smarter and look better
administrators can no longer be promoted to moderator
/hammer command for admins to perform realm-wide ban