Commit Graph

13 Commits

Author SHA1 Message Date
topkecleon
c94c8e3b4d minor improvements 2016-01-14 22:39:24 -05:00
topkecleon
4f78323db7 Changes to apod.lua:
- Now uses demo key if key is not configured.
 - Removed newlines in doc.
 - Removed some unused code.
2016-01-14 14:56:30 -05:00
Heitor P. de Bittencourt
be6ecc04e2 Added APOD plugin.
Gets Astronomy Picture of the Day, from NASA.
2016-01-14 21:38:26 +02:00
topkecleon
fe549add63 Better logging, new preview.lua plugin.
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().
2016-01-13 13:00:17 -05:00
topkecleon
c50b1ca3fa Username cachine and various fixes.
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".
2016-01-12 05:22:28 -05:00
topkecleon
9070a44c8f Improved triggers for many plugins.
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.
2016-01-07 22:30:12 -05:00
topkecleon
88a506492b some improvements 2015-12-14 14:48:17 -05:00
topkecleon
c827004bc7 fixed default config
rewrote get_word()
2015-12-13 16:31:22 -05:00
topkecleon
c8a90c5c7f added attribution for antisquig 2015-12-10 11:34:20 -05:00
topkecleon
f89c3fae5e Added Google API/CSE key vars to config, minor changes to gImages.lua 2015-12-05 10:03:43 -05:00
topkecleon
80f363de44 markdown support in messages
other changes & improvements
2015-12-05 09:30:52 -05:00
topkecleon
9cbe4dd3c8 Small fix in default config. 2015-11-25 11:13:19 -05:00
topkecleon
cacfea1fa5 otouto v3 is out!
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!
2015-11-24 21:22:04 -05:00